/*
Theme Name: Emsitakı v2
Theme URI: https://www.emsitaki.com
Author: Emsi Takı
Description: Beyaz ve rose gold tonlarında, zarif ve etkileyici bir takı mağazası teması. WooCommerce uyumlu, mobil uyumlu, Özelleştirici (Customizer) ile düzenlenebilir ana sayfa.
Version: 1.2.1
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: emsitaki
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns
*/

/* ==========================================================================
   1. Değişkenler
   ========================================================================== */
:root {
  --white: #ffffff;
  --ivory: #fdf9f7;
  --blush: #f8ede9;
  --rose-100: #f3dfd9;
  --rose-200: #e8c5bb;
  --rose-400: #c98f86;
  --rose-500: #b76e79;
  --rose-600: #9c5560;
  --gold-grad: linear-gradient(135deg, #e9c3b8 0%, #c98f86 45%, #b76e79 100%);
  --gold-grad-soft: linear-gradient(135deg, #f6e3dc 0%, #e8c5bb 100%);
  --ink: #3b2f2f;
  --ink-soft: #7a6866;
  --line: #efe3de;
  --shadow-sm: 0 2px 10px rgba(183, 110, 121, .10);
  --shadow-md: 0 14px 40px rgba(183, 110, 121, .18);
  --radius: 14px;
  --container: 1240px;
  --font-head: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   2. Temel
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-500); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--rose-600); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--ink);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; background: #fff; padding: 10px 16px; z-index: 9999; }
::selection { background: var(--rose-200); color: var(--ink); }

/* Butonlar */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-block;
  padding: 14px 34px;
  border: 0;
  border-radius: 50px;
  background: var(--gold-grad);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn:hover, .button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--rose-500);
  color: var(--rose-500) !important;
  box-shadow: none;
}
.btn-outline:hover { background: var(--rose-500); color: #fff !important; }
.btn-white { background: #fff; color: var(--rose-600) !important; }

/* Bölüm başlığı */
.section { padding: 96px 0; }
.section-alt { background: var(--ivory); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-500);
  margin-bottom: 14px;
}
.divider {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px;
}
.divider::before, .divider::after { content: ""; width: 60px; height: 1px; background: var(--gold-grad); }
.divider span { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-grad); }

/* ==========================================================================
   3. Üst bar & Header
   ========================================================================== */
.topbar {
  background: var(--gold-grad);
  color: #fff;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 84px;
}
.site-branding .custom-logo { max-height: 60px; width: auto; filter: none; }
.site-branding .custom-logo-link { display: inline-block; line-height: 0; }
.site-title {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 600; margin: 0; line-height: 1;
  letter-spacing: .06em;
}
.site-title a {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.site-tagline { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 0; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a {
  color: var(--ink);
  font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding: 8px 0; position: relative; display: block;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1.5px;
  background: var(--gold-grad); transition: width .3s;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--rose-500); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: -20px; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 12px 0; flex-direction: column; gap: 0; align-items: stretch;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 9px 22px; text-transform: none; letter-spacing: .04em; font-size: .95rem; }
.main-nav .sub-menu a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  position: relative; background: none; border: 0; padding: 6px; cursor: pointer;
  color: var(--ink); display: inline-flex; line-height: 0; transition: color .25s;
}
.icon-btn:hover { color: var(--rose-500); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--gold-grad); color: #fff; font-size: .65rem; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.menu-toggle { display: none; }

/* Arama paneli */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 24px 0; display: none; box-shadow: var(--shadow-sm);
}
.search-panel.open { display: block; animation: fadeDown .3s; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-form input[type="search"] {
  flex: 1; padding: 14px 22px; border: 1.5px solid var(--rose-200); border-radius: 50px;
  font: inherit; outline: none; background: var(--ivory);
}
.search-form input[type="search"]:focus { border-color: var(--rose-500); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: none; } }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(233,195,184,.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(201,143,134,.25), transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--blush) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 60px; padding: 90px 0 100px; min-height: 640px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 500px; margin-bottom: 38px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 240px 240px 18px 18px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-md);
  background: var(--gold-grad-soft);
  border: 8px solid #fff;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #f6e3dc, #e0b3a8 60%, #c98f86);
}
.hero-placeholder svg { width: 38%; opacity: .85; }
.hero-visual::before {
  content: ""; position: absolute; width: 85%; height: 85%; right: -22px; bottom: -22px;
  border: 1.5px solid var(--rose-200); border-radius: 240px 240px 18px 18px; z-index: -1;
}
.hero-badge {
  position: absolute; left: -26px; bottom: 56px; background: #fff; border-radius: 16px;
  padding: 16px 22px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  animation: float 5s ease-in-out infinite;
}
.hero-badge b { font-family: var(--font-head); font-size: 1.6rem; display: block; line-height: 1; color: var(--rose-500); }
.hero-badge small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .06em; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-9px);} }

.sparkle { position: absolute; color: var(--rose-400); opacity: .7; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle.s1 { top: 14%; left: 48%; font-size: 22px; }
.sparkle.s2 { bottom: 16%; left: 6%; font-size: 16px; animation-delay: 1s; }
.sparkle.s3 { top: 70%; right: 6%; font-size: 26px; animation-delay: 2s; }
@keyframes twinkle { 0%,100% { opacity: .2; transform: scale(.8) rotate(0);} 50% { opacity: .9; transform: scale(1.15) rotate(20deg);} }

/* ==========================================================================
   5. Özellik şeridi
   ========================================================================== */
.features { border-bottom: 1px solid var(--line); background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; align-items: center; gap: 16px; padding: 30px 22px;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature-icon {
  flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--blush);
  display: flex; align-items: center; justify-content: center; color: var(--rose-500);
}
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; margin: 0; letter-spacing: .04em; }
.feature p { margin: 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }

/* ==========================================================================
   6. Kategoriler
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--gold-grad-soft); box-shadow: var(--shadow-sm);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(156,85,96,.62) 100%);
}
.cat-card .cat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: #fff; }
.cat-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.6rem; }
.cat-card span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.cat-card .cat-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.cat-card .cat-fallback svg { width: 70px; }

/* ==========================================================================
   7. Hikaye bölümü
   ========================================================================== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { position: relative; }
.story-img .img-main {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--gold-grad-soft);
  box-shadow: var(--shadow-md);
}
.story-img .img-main img { width: 100%; height: 100%; object-fit: cover; }
.story-img::after {
  content: ""; position: absolute; top: -20px; left: -20px; width: 140px; height: 140px;
  border-top: 2px solid var(--rose-400); border-left: 2px solid var(--rose-400); border-radius: 14px 0 0 0;
}
.story-text p { color: var(--ink-soft); font-size: 1.05rem; }
.stats { display: flex; gap: 44px; margin: 32px 0 38px; }
.stats b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats small { color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* ==========================================================================
   8. Banner & yorumlar & bülten
   ========================================================================== */
.promo {
  background: var(--gold-grad); color: #fff; text-align: center; padding: 90px 24px; position: relative; overflow: hidden;
}
.promo::before, .promo::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
}
.promo::before { left: -120px; top: -120px; }
.promo::after { right: -120px; bottom: -160px; width: 460px; height: 460px; }
.promo h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.promo p { max-width: 560px; margin: 0 auto 32px; opacity: .95; font-size: 1.1rem; }
.promo > * { position: relative; z-index: 2; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { color: var(--rose-400); letter-spacing: 3px; margin-bottom: 14px; }
.testi p { font-style: italic; color: var(--ink-soft); }
.testi cite { font-style: normal; font-weight: 600; letter-spacing: .06em; font-size: .9rem; }

.newsletter { background: var(--blush); text-align: center; padding: 80px 0; }
.newsletter-form { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 15px 24px; border-radius: 50px; border: 1.5px solid var(--rose-200);
  font: inherit; background: #fff; outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--rose-500); }

/* ==========================================================================
   9. Yazılar / sayfalar
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #fff, var(--blush)); text-align: center; padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumbs { font-size: .82rem; letter-spacing: .08em; color: var(--ink-soft); margin-top: 12px; }
.content-wrap { padding: 72px 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.content-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--gold-grad-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 26px; }
.post-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--rose-500); }
.meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.entry-content { font-size: 1.05rem; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote {
  margin: 2em 0; padding: 12px 28px; border-left: 3px solid var(--rose-400);
  font-family: var(--font-head); font-size: 1.4rem; font-style: italic; color: var(--rose-600); background: var(--ivory);
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.pagination, .navigation.pagination { margin-top: 50px; text-align: center; }
.page-numbers {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); margin: 0 4px; color: var(--ink);
}
.page-numbers.current, .page-numbers:hover { background: var(--gold-grad); color: #fff; border-color: transparent; }
.page-numbers.next, .page-numbers.prev { width: auto; padding: 0 18px; border-radius: 50px; }

.widget { margin-bottom: 40px; }
.widget-title { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 50px; height: 2px; background: var(--gold-grad); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.widget li a { color: var(--ink); }
.widget li a:hover { color: var(--rose-500); }

/* Yorumlar & form alanları */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"],
input[type="number"], textarea, select {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s;
}
input:focus, textarea:focus, select:focus { border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(201,143,134,.15); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 22px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; background: var(--ivory); }
.comment-list .children { list-style: none; margin-left: 28px; padding: 0; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: var(--blush); color: var(--ink-soft); padding-top: 80px; border-top: 3px solid transparent; border-image: var(--gold-grad) 1; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px; padding-bottom: 60px; }
.site-footer h4 { color: var(--ink); font-size: 1.25rem; margin-bottom: 20px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--rose-500); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; }
.footer-brand .site-title a { font-size: 2rem; }
.footer-brand p { margin-top: 16px; font-size: .95rem; max-width: 320px; }
.footer-brand .custom-logo { max-height: 64px; width: auto; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rose-200); color: var(--rose-500);
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.socials a:hover { background: var(--gold-grad); border-color: transparent; color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid var(--rose-100); padding: 24px 0; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-grad); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; z-index: 90;
  display: flex; align-items: center; justify-content: center;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

/* ==========================================================================
   11. WooCommerce
   ========================================================================== */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  padding: 0 0 22px; text-align: center; transition: transform .35s, box-shadow .35s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.woocommerce ul.products li.product a img { margin: 0 0 18px; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-head); font-size: 1.2rem; padding: 0 16px; color: var(--ink);
}
.woocommerce ul.products li.product .price { color: var(--rose-500); font-weight: 500; font-size: 1.05rem; display: block; margin-bottom: 14px; }
.woocommerce ul.products li.product .price del { color: var(--ink-soft); opacity: .6; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { padding: 11px 26px; font-size: .74rem; }
.woocommerce span.onsale {
  background: var(--gold-grad); color: #fff; border-radius: 50px; min-height: auto; min-width: auto;
  padding: 6px 16px; line-height: 1.3; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  top: 14px; left: 14px; right: auto; margin: 0;
}
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--rose-400); }
.woocommerce div.product .product_title { font-size: 2.4rem; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rose-500); font-size: 1.6rem; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--rose-500); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--rose-400); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rose-500); }
.woocommerce .quantity .qty { width: 80px; padding: 11px; }
.woocommerce-breadcrumb { font-size: .82rem; color: var(--ink-soft); }
.woocommerce table.shop_table { border-radius: 12px; border-color: var(--line); }
.woocommerce-checkout #payment { background: var(--ivory); border-radius: 12px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line);
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--gold-grad); color: #fff; border-color: transparent;
}

/* ==========================================================================
   12. Animasyonlar (scroll reveal)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 0 80px; min-height: 0; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .hero-badge { left: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cat-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 50px; }
  .testimonials { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; display: none; box-shadow: var(--shadow-sm);
  }
  .main-nav.open { display: block; animation: fadeDown .3s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .header-inner { min-height: 72px; }
  .section { padding: 64px 0; }
  .post-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .stats { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .cat-grid, .woocommerce ul.products { gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .hero-badge { display: none; }
  .cat-card h3 { font-size: 1.2rem; }
  .cat-card .cat-info { padding: 16px; }
}

/* ==========================================================================
   14. v1.1 – Gelişmiş bileşenler
   ========================================================================== */
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

/* İlerleme çubuğu */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

/* Hero slider */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .hero-text > * { opacity: 0; transform: translateY(24px); }
.hero-slide.active .hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-slide.active .hero-text > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.active .hero-text > *:nth-child(3) { animation-delay: .24s; }
.hero-slide.active .hero-text > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-frame { transition: transform .25s ease-out; will-change: transform; }
.hero-ctrl {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; z-index: 5;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 50px; box-shadow: var(--shadow-sm);
}
.hero-arrow { border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--rose-500); width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.hero-arrow:hover { background: var(--blush); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--rose-200); cursor: pointer; transition: all .3s; }
.hero-dot.active { width: 26px; border-radius: 6px; background: var(--gold-grad); }

/* Kayan şerit */
.marquee { overflow: hidden; background: var(--gold-grad); color: #fff; padding: 13px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 0 34px; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento kategoriler */
.cat-grid.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 20px; }
.cat-grid.bento .cat-card { aspect-ratio: auto; }
.cat-grid.bento .cat-card:first-child { grid-column: span 2; grid-row: span 2; }
.cat-grid.bento .cat-card:first-child h3 { font-size: 2.2rem; }
.cat-card .cat-info span i { font-style: normal; display: inline-block; transition: transform .3s; }
.cat-card:hover .cat-info span i { transform: translateX(6px); }
.cat-card .cat-fallback svg { width: 64px; transition: transform .6s; }
.cat-card:hover .cat-fallback svg { transform: scale(1.15) rotate(8deg); }
.cat-card .cat-fallback { transition: filter .4s; }

/* Sekmeler */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 44px; flex-wrap: wrap; }
.tab {
  border: 1.5px solid var(--rose-200); background: #fff; color: var(--ink); cursor: pointer;
  padding: 11px 26px; border-radius: 50px; font: 500 .82rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; transition: all .25s;
}
.tab:hover { border-color: var(--rose-500); color: var(--rose-500); }
.tab.active { background: var(--gold-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Mega menü */
.main-nav li.has-mega { position: static; }
.main-nav .mega-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: 30px 0 34px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .28s;
}
.main-nav li.has-mega:hover > .mega-panel, .main-nav li.has-mega:focus-within > .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.main-nav .mega-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; text-transform: none; letter-spacing: .02em; text-align: center; }
.main-nav .mega-item::after { display: none; }
.mega-img {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--gold-grad-soft);
  display: flex; align-items: center; justify-content: center; color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--rose-200); transition: all .3s;
}
.mega-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-img svg { width: 34px; }
.mega-item:hover .mega-img { box-shadow: 0 0 0 2px var(--rose-500); transform: translateY(-4px); }
.mega-name { font-size: .92rem; font-weight: 500; color: var(--ink); }
.mega-item:hover .mega-name { color: var(--rose-500); }

/* Başlık sayaçları */
.wish-count { position: absolute; top: -4px; right: -6px; background: var(--rose-500); color: #fff; font-size: .65rem; font-weight: 600; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }

/* Canlı arama */
.live-results { max-width: 640px; margin: 18px auto 0; display: grid; gap: 4px; }
.live-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.live-item:hover { background: var(--blush); }
.live-item img, .live-noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--gold-grad-soft); flex: 0 0 52px; }
.live-item b { display: block; font-weight: 500; }
.live-item small { color: var(--rose-500); }
.live-empty { text-align: center; color: var(--ink-soft); margin: 6px 0; }

/* Çekmeceler */
.overlay { position: fixed; inset: 0; background: rgba(59,47,47,.38); backdrop-filter: blur(2px); z-index: 400; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 410;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(183,110,121,.2);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-close { border: 0; background: var(--blush); width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--rose-500); cursor: pointer; transition: all .25s; }
.drawer-close:hover { background: var(--gold-grad); color: #fff; transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.drawer-empty { color: var(--ink-soft); text-align: center; margin-top: 40px; }
.wish-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.wish-link { display: flex; align-items: center; gap: 14px; flex: 1; color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }
.wish-link img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.wish-remove { border: 0; background: none; font-size: 1.4rem; color: var(--ink-soft); cursor: pointer; }
.wish-remove:hover { color: var(--rose-500); }
.drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.drawer .woocommerce-mini-cart-item { position: relative; padding: 14px 0 14px 78px; border-bottom: 1px solid var(--line); min-height: 94px; }
.drawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 14px; width: 62px; border-radius: 10px; }
.drawer .woocommerce-mini-cart-item a:not(.remove) { color: var(--ink); font-weight: 500; display: block; }
.drawer .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 14px; color: var(--rose-500) !important; font-size: 1.3rem; text-decoration: none; }
.drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 18px 0; font-size: 1.05rem; }
.drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; }
.drawer .woocommerce-mini-cart__buttons a { text-align: center; }
.drawer .woocommerce-mini-cart__buttons a:not(.checkout) { background: transparent; border: 1.5px solid var(--rose-500); color: var(--rose-500) !important; box-shadow: none; }
.drawer .woocommerce-mini-cart__empty-message { text-align: center; color: var(--ink-soft); margin-top: 40px; }

/* Ürün kartı: favori kalbi ve ikinci görsel */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: block; position: relative; }
.woocommerce ul.products li.product .emsi-hover-img {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 !important; opacity: 0; transition: opacity .5s;
}
.woocommerce ul.products li.product:hover .emsi-hover-img { opacity: 1; }
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--rose-500); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: transform .25s, background .25s;
}
.wish-btn:hover { transform: scale(1.12); }
.wish-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linejoin: round; transition: fill .25s; }
.wish-btn.active svg { fill: var(--rose-500); }
.wish-btn.pop { animation: pop .4s; }
@keyframes pop { 40% { transform: scale(1.35); } }
.woocommerce span.onsale { z-index: 4; }

/* Mağaza kategori hapları */
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.pill { padding: 9px 22px; border-radius: 50px; border: 1.5px solid var(--rose-200); color: var(--ink); font-size: .85rem; letter-spacing: .06em; transition: all .25s; }
.pill:hover { border-color: var(--rose-500); color: var(--rose-500); }
.pill.active { background: var(--gold-grad); color: #fff; border-color: transparent; }
.woocommerce .woocommerce-ordering select { width: auto; border-radius: 50px; padding: 10px 20px; }

/* Yapışkan sepete ekle */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(183,110,121,.14); transform: translateY(110%); transition: transform .35s; }
.sticky-atc.show { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.sticky-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sticky-info img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.sticky-info strong { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.2; }
.sticky-info span { color: var(--rose-500); font-size: .95rem; }
body.single-product .to-top { bottom: 90px; }

/* Kart ve buton ince ayarları */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 130%; }
.btn-outline::after { display: none; }

@media (max-width: 1024px) {
  .cat-grid.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .cat-grid.bento .cat-card:first-child { grid-column: span 2; grid-row: span 1; }
  .hero-ctrl { bottom: 14px; }
}
@media (max-width: 820px) {
  .main-nav .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; }
  .mega-grid { display: block; max-width: none; }
  .main-nav .mega-item { flex-direction: row; justify-content: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mega-img { display: none; }
  .mega-name { font-size: .95rem; }
  .sticky-info span { display: none; }
}
@media (max-width: 560px) {
  .cat-grid.bento { grid-auto-rows: 170px; gap: 12px; }
  .cat-grid.bento .cat-card:first-child h3 { font-size: 1.5rem; }
  .tab { padding: 9px 16px; font-size: .74rem; }
  .hero-ctrl { gap: 8px; padding: 6px 10px; }
}

/* ==========================================================================
   15. v1.1 düzeltmeler
   ========================================================================== */
body { overflow-x: clip; }

/* Kapalı çekmece: gölge ve içerik sayfaya taşmasın */
.drawer { visibility: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s linear .4s; }
.drawer.open { visibility: visible; transition-delay: 0s; }

/* Hero boyutu */
.hero-inner { padding: 64px 0 96px; min-height: 0; }
.hero-visual { width: min(100%, 440px); justify-self: center; }
.hero-frame { aspect-ratio: 4 / 5; }

/* Eşit kategori ızgarası (büyük kart yoksa) */
.cat-grid.uniform { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cat-grid.uniform .cat-card { flex: 0 0 calc(25% - 15px); }

@media (max-width: 1024px) {
  .cat-grid.uniform .cat-card { flex-basis: calc(33.333% - 14px); }
  .hero-inner { padding: 44px 0 90px; }
}
@media (max-width: 820px) {
  .site-tagline { display: none; }
  .header-actions { gap: 10px; }
  .sparkle.s1 { display: none; }
  .cat-grid.uniform { gap: 12px; }
  .cat-grid.uniform .cat-card { flex-basis: calc(50% - 6px); }
}
@media (max-width: 480px) {
  .header-actions .icon-btn[href*="hesab"], .header-actions a.icon-btn:not(#cart-toggle) { display: none; }
  .site-branding .custom-logo { max-height: 48px; }
  .site-title { font-size: 1.6rem; }
}

/* ==========================================================================
   16. v1.2 – Taşma düzeltmesi, kaydırmalı şeritler, yan panel menü
   ========================================================================== */

/* Sütun sayısı satır içi stille değil, değişkenle verilir (medya kuralları geçerli kalsın) */
.features-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }
.testimonials { grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
}

/* Masaüstünde gizli olan mobil menü parçaları */
.nav-head, .nav-search, .nav-foot, .nav-overlay, .sub-toggle { display: none; }

@media (max-width: 820px) {

  /* ---- Yan panel menü ---- */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 1; background: rgba(59,47,47,.45);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
  }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }

  .main-nav {
    position: fixed; top: 0; bottom: 0; left: 0; right: auto; z-index: 2;
    width: min(360px, 88vw); padding: 0; border: 0; background: #fff;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 20px 0 60px rgba(183,110,121,.25);
    transform: translateX(-104%); visibility: hidden;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s linear .4s;
  }
  .main-nav.open { display: flex; transform: none; visibility: visible; transition-delay: 0s; animation: none; }

  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .nav-head .site-title { font-size: 1.7rem; }
  .main-nav .nav-head a { padding: 0; border: 0; display: inline-block; }
  .main-nav .nav-head a::after { display: none; }
  .nav-head .custom-logo { max-height: 44px; width: auto; }

  .nav-search { display: flex; gap: 8px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .nav-search input[type="search"] { flex: 1; min-width: 0; padding: 11px 18px; border-radius: 50px; border: 1.5px solid var(--rose-200); background: var(--ivory); font: inherit; outline: none; }
  .nav-search input[type="search"]:focus { border-color: var(--rose-500); }
  .nav-search button { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold-grad); cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .nav-search button svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

  .main-nav > ul { flex: 1 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .main-nav li, .main-nav li.has-mega { position: relative; }
  .main-nav > ul > li > a { padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: .92rem; }
  .main-nav > ul > li > a::after { display: none; }

  /* Alt menü açma düğmesi */
  .main-nav .sub-toggle {
    display: flex; position: absolute; right: 10px; top: 5px; width: 46px; height: 46px; border: 0; background: none;
    align-items: center; justify-content: center; color: var(--rose-500); cursor: pointer; border-radius: 50%;
  }
  .main-nav .sub-toggle:active { background: var(--blush); }
  .sub-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
  .main-nav li.is-open > .sub-toggle svg { transform: rotate(180deg); }
  .main-nav li.is-open > a { color: var(--rose-500); }

  /* Kategoriler: varsayılan KAPALI akordeon */
  .main-nav .mega-panel, .main-nav .sub-menu {
    display: block; position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    max-height: 0; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--ivory);
    transition: max-height .4s ease;
  }
  .main-nav li.is-open > .mega-panel, .main-nav li.is-open > .sub-menu { max-height: 900px; }
  .mega-panel .container { padding: 0; }
  .mega-grid { display: block; max-width: none; padding: 6px 0; }
  .main-nav .mega-item { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; padding: 9px 22px; border: 0; text-align: left; }
  .mega-img { display: flex; width: 42px; height: 42px; border-width: 2px; box-shadow: 0 0 0 1px var(--rose-200); flex: 0 0 42px; }
  .mega-img svg { width: 18px; }
  .mega-item:hover .mega-img { transform: none; }
  .mega-name { font-size: .95rem; }
  .main-nav .sub-menu a { padding: 12px 22px 12px 38px; border: 0; text-transform: none; letter-spacing: .02em; font-size: .95rem; }

  /* Panel altı */
  .nav-foot { display: block; padding: 18px 22px 26px; border-top: 1px solid var(--line); background: var(--blush); }
  .nav-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; }
  .main-nav .nav-quick-btn, .nav-quick-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: #fff;
    border: 1px solid var(--line); border-radius: 12px; font: 500 .76rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer;
  }
  .main-nav .nav-quick-btn::after { display: none; }
  .nav-quick-btn svg { width: 22px; height: 22px; stroke: var(--rose-500); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .nav-foot .socials { justify-content: center; margin-top: 16px; }
  .main-nav .socials a { padding: 0; border: 1px solid var(--rose-200); }
  .main-nav .socials a::after { display: none; }

  /* ---- Yatay kaydırmalı şeritler (taşma yok, yana kaydırılır) ---- */
  .features-grid, .cat-grid.bento, .cat-grid.uniform, .tabs, .tab-panel .woocommerce ul.products, .testimonials {
    display: flex; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .features-grid::-webkit-scrollbar, .cat-grid::-webkit-scrollbar, .tabs::-webkit-scrollbar,
  .tab-panel .woocommerce ul.products::-webkit-scrollbar, .testimonials::-webkit-scrollbar { display: none; }

  /* Avantaj şeridi */
  .features-grid { padding: 0 24px; scroll-padding: 0 24px; }
  .feature { flex: 0 0 78%; scroll-snap-align: start; padding: 22px 18px; border-right: 1px solid var(--line) !important; border-bottom: 0 !important; }
  .feature:last-child { border-right: 0 !important; }

  /* Kategoriler */
  .cat-grid.bento, .cat-grid.uniform { gap: 12px; margin: 0 -24px; padding: 0 24px 10px; scroll-padding: 0 24px; }
  .cat-grid.bento .cat-card, .cat-grid.uniform .cat-card { flex: 0 0 62%; aspect-ratio: 3 / 4; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .cat-grid.bento .cat-card:first-child h3 { font-size: 1.6rem; }

  /* Sekmeler */
  .tabs { gap: 8px; margin: 0 -24px 26px; padding: 2px 24px 6px; scroll-padding: 0 24px; }
  .tab { flex: 0 0 auto; scroll-snap-align: start; }

  /* Ana sayfa ürünleri */
  .tab-panel .woocommerce ul.products { gap: 14px; margin: 0 -24px; padding: 4px 24px 18px; scroll-padding: 0 24px; }
  .tab-panel .woocommerce ul.products li.product { flex: 0 0 66% !important; scroll-snap-align: start; }

  /* Yorumlar */
  .testimonials { gap: 14px; margin: 0 -24px; padding: 6px 24px 14px; scroll-padding: 0 24px; }
  .testi { flex: 0 0 84%; scroll-snap-align: start; }
}

@media (max-width: 560px) {
  /* Mağaza / arşiv sayfalarında 2 sütun düzgün sığsın */
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.02rem; padding: 0 10px; }
  .woocommerce ul.products li.product .button { padding: 10px 16px; font-size: .68rem; letter-spacing: .1em; }
  .cat-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px 24px; padding: 0 24px 6px; scrollbar-width: none; }
  .cat-pills::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }
}

@media (max-width: 820px) {
  .main-nav .nav-head .site-title a { text-transform: none; letter-spacing: .06em; font-weight: 600; font-size: inherit; }
}

/* v1.2.1 – mobil taşma güvenliği (yazı, arama, kenar çubuğu) */
.content-grid > *, .post-grid > *, .site-main { min-width: 0; }
.sidebar, .sidebar * { max-width: 100%; }
.sidebar .widget, .entry-content { overflow-wrap: anywhere; }
.entry-content img, .entry-content video, .entry-content iframe, .entry-content table { max-width: 100%; height: auto; }
.entry-content pre, .entry-content table { display: block; overflow-x: auto; }
.wp-block-search__inside-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-search__input { flex: 1 1 140px; min-width: 0; }
.search-form input[type="search"] { min-width: 0; flex: 1 1 auto; }

/* çok dar ekranlar (≤360px) */
@media (max-width: 360px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .site-branding .site-title { font-size: 1.1rem; }
}
