:root {
  --cream: #f7f1e6;
  --cream-2: #efe6d4;
  --paper: #fffdf9;
  --ink: #3c3226;
  --ink-soft: #6b5f4f;
  --olive: #6f7d4f;
  --olive-dark: #56613e;
  --terracotta: #c17a4e;
  --terracotta-dark: #a5613a;
  --line: #e2d6bf;
  --shadow: 0 10px 30px rgba(60, 50, 38, 0.12);
  --radius: 18px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

picture { display: contents; }

img {
  max-width: 100%;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--olive-dark);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--olive-dark); }

/* Arama */
.search-toggle {
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1;
  transition: background 0.15s ease;
}
.search-toggle:hover { background: var(--cream-2); }

/* Dil seçici */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-flag {
  background: none;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 5px 6px;
  border-radius: 8px;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.lang-flag:hover { opacity: 0.9; background: var(--cream-2); }
.lang-flag.active { opacity: 1; background: var(--cream-2); }

@media (max-width: 860px) {
  .lang-switcher { gap: 0; }
  .lang-flag { padding: 4px 4px; font-size: 0.95rem; }
}

.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(60, 50, 38, 0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.search-panel.open { max-height: 480px; }

.search-panel-inner { padding: 18px 24px 22px; }

.search-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
  box-sizing: border-box;
}
.search-input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }

.search-results {
  margin-top: 14px;
  max-height: 360px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}

.search-hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 4px 0;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.search-result:hover { background: var(--cream-2); }

.search-result picture,
.search-result img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-text { display: flex; flex-direction: column; }
.search-result-title { font-weight: 700; font-size: 0.94rem; }
.search-result-sub {
  font-size: 0.78rem;
  color: var(--olive-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .search-panel-inner { padding: 14px 16px 18px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .header-inner .nav-cta { display: none; }
  .lang-flag { padding: 3px 3px; font-size: 0.85rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--olive);
  color: #fff;
}
.btn-primary:hover { background: var(--olive-dark); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--olive);
  color: var(--olive-dark);
  background: transparent;
}
.btn-outline:hover { background: var(--olive); color: #fff; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}
.btn-ghost:hover { border-color: var(--olive); color: var(--olive-dark); }

/* Hero */
.hero {
  padding: 70px 0 80px;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(111,125,79,0.14), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(193,122,78,0.14), transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-text {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Hero banner mosaic */
.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 420px;
}

.hero-banner-tile {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--paper);
  background: var(--cream-2);
  transition: transform 0.3s ease;
}

.hero-banner-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-tile:hover { transform: translateY(-4px); }

.tile-1 { transform: rotate(-2deg); }
.tile-2 { transform: rotate(2deg); margin-top: 26px; }
.tile-3 { transform: rotate(2deg); margin-top: -26px; }
.tile-4 { transform: rotate(-2deg); }

.tile-1:hover { transform: rotate(-2deg) translateY(-4px); }
.tile-2:hover { transform: rotate(2deg) translateY(-4px); }
.tile-3:hover { transform: rotate(2deg) translateY(-4px); }
.tile-4:hover { transform: rotate(-2deg) translateY(-4px); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-banner { height: 320px; margin-top: 20px; }
}

/* Section head */
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-text { color: var(--ink-soft); }
.placeholder-note {
  background: #fbeedd;
  border: 1px dashed var(--terracotta);
  color: var(--terracotta-dark);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Products — kategori grid (ana sayfa) */
.products { padding: 70px 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.category-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(60, 50, 38, 0.18);
}

.category-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-2);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-image img { transform: scale(1.06); }

.category-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.category-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.category-card-subtitle {
  color: var(--terracotta-dark);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.category-card-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
  flex: 1;
}

.category-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--olive-dark);
}

/* Kategori sayfası (kategori.html) */
.category-page { padding: 50px 0 90px; }
.category-page-head { max-width: 720px; margin-bottom: 36px; }
.category-page-head h1 { margin-bottom: 10px; }

/* Variant grid — her ürün ayrı ayrı gösterilir */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.item-card {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(60, 50, 38, 0.18);
}

.item-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.item-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-2);
}

.item-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item-card:hover .item-card-image img { transform: scale(1.07); }

.item-card-label {
  padding: 12px 14px 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

/* "Teklife ekle" checkbox */
.item-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.item-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--olive);
  cursor: pointer;
}

.item-check-lg {
  justify-content: flex-start;
  padding: 0;
  font-size: 0.92rem;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.share-wrap { position: relative; }

.share-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}
.share-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.share-menu a,
.share-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.share-menu a:hover,
.share-menu button:hover { background: var(--cream-2); }

/* Sabit WhatsApp butonu */
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.05); }
.whatsapp-float-icon { font-size: 1.7rem; line-height: 1; }

@media (max-width: 480px) {
  .whatsapp-float { left: 14px; bottom: 14px; width: 50px; height: 50px; }
  .whatsapp-float-icon { font-size: 1.5rem; }
}

/* Çerez izin bandı */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: var(--ink);
  color: #f2ead9;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text { margin: 0; font-size: 0.92rem; max-width: 640px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn-ghost {
  background: transparent;
  border-color: rgba(242, 234, 217, 0.4);
  color: #f2ead9;
}
.cookie-banner .btn-ghost:hover { border-color: #f2ead9; }

@media (max-width: 640px) {
  .cookie-banner-inner { padding: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* Teklif listesi widget */
.quote-widget { position: fixed; z-index: 150; right: 22px; bottom: 22px; }

.quote-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(60, 50, 38, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}
.quote-fab:hover { background: var(--olive-dark); transform: translateY(-2px); }
.quote-fab-icon { font-size: 1.1rem; }

.quote-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.quote-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 340px;
  max-width: calc(100vw - 44px);
  max-height: 70vh;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.quote-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.quote-panel-head h4 {
  font-family: var(--font-head);
  margin: 0;
  font-size: 1.05rem;
}
.quote-panel-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.quote-list {
  padding: 10px 18px;
  overflow-y: auto;
  flex: 1;
}

.quote-empty {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 10px 0;
}

.quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}
.quote-item:last-child { border-bottom: none; }

.quote-remove {
  background: none;
  border: none;
  color: var(--terracotta-dark);
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.quote-panel-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}

.quote-email-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

#quote-email {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin-bottom: 10px;
  box-sizing: border-box;
}
#quote-email:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
#quote-email.quote-email-error { border-color: var(--terracotta); outline: 2px solid var(--terracotta); }

.quote-submit { width: 100%; }

.quote-status {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 10px 0 0;
  min-height: 1.1em;
}
.quote-status-pending { color: var(--ink-soft); }
.quote-status-success { color: var(--olive-dark); }
.quote-status-error { color: var(--terracotta-dark); }
.quote-status-error a { color: var(--terracotta-dark); text-decoration: underline; }

.quote-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

@media (max-width: 480px) {
  .quote-widget { right: 14px; bottom: 14px; }
  .quote-fab span:not(.quote-badge):not(.quote-fab-icon) { display: none; }
  .quote-panel { width: calc(100vw - 28px); }
}

/* Blog */
.blog-page { padding: 50px 0 90px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.blog-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(60, 50, 38, 0.18); }

.blog-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--terracotta-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.blog-card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.blog-card-excerpt { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* Blog yazı sayfası */
.post-page { padding: 50px 0 90px; }
.post-header { max-width: 720px; margin-bottom: 34px; }
.post-date {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--terracotta-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.post-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  max-width: 900px;
}
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.post-content { max-width: 720px; color: var(--ink-soft); font-size: 1.02rem; }
.post-content h2 { font-size: 1.4rem; margin-top: 40px; color: var(--ink); }
.post-content h3 { font-size: 1.1rem; margin-top: 28px; color: var(--ink); }
.post-content p { margin: 0 0 18px; }
.post-content ul { margin: 0 0 18px; padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--olive-dark); font-weight: 700; text-decoration: underline; }
.post-cta {
  margin-top: 40px;
  padding: 26px;
  background: var(--cream-2);
  border-radius: var(--radius);
  max-width: 720px;
}
.post-cta p { margin: 0 0 16px; font-weight: 600; color: var(--ink); }

/* Toptan Satış */
.wholesale { padding: 70px 0; }
.wholesale-list { max-width: 640px; margin-bottom: 30px; }
.wholesale-list li::before { content: "📦"; }

/* About */
.about { padding: 70px 0; background: var(--cream-2); }
.about-inner { max-width: 720px; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
}
.about-list li::before {
  content: "🌱";
  position: absolute;
  left: 0;
}

/* Contact */
.contact { padding: 70px 0 90px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--olive); }
.contact-icon { font-size: 1.6rem; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--olive-dark);
}
.contact-value { font-weight: 700; }
.contact-card-static { cursor: default; }
.contact-card-static:hover { transform: none; border-color: var(--line); }

.map-embed {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e9e1d1;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}
.footer-note { color: #b8ac93; }

/* Product detail page */
.product-detail { padding: 50px 0 90px; }

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.back-link:hover { text-decoration: underline; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: start;
}

.detail-image-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.detail-image-wrap img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.detail-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.detail-nav-btn:hover { background: var(--olive); color: #fff; }

.detail-counter {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.92rem;
  min-width: 60px;
  text-align: center;
}

.detail-info { padding-top: 6px; }

.detail-subtitle {
  color: var(--terracotta-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin: 0 0 18px;
}

.detail-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 28px;
}

.detail-variants {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.detail-variants h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 20px;
}

.variant-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.variant-thumb {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.variant-thumb:hover { transform: translateY(-3px); border-color: var(--olive); }
.variant-thumb.active { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(111,125,79,0.18); }

.variant-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.variant-thumb span {
  display: block;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
}
