:root {
  color-scheme: light;
  --ink: #292421;
  --muted: #5f5650;
  --paper: #faf5ed;
  --paper-deep: #efe4d6;
  --white: #fffdf8;
  --cocoa: #6f3e2f;
  --cocoa-dark: #2b1a14;
  --red: #7a263a;
  --gold: #c69c62;
  --line: rgba(41, 36, 33, 0.14);
  --shadow: 0 18px 48px rgba(43, 26, 20, 0.1);
  --container: min(1120px, calc(100% - 40px));
  --font-display: "Lora", "Playfair Display", "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, Manrope, "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

body.dark {
  color-scheme: dark;
  --ink: #faf5ed;
  --muted: #bcb1a6;
  --paper: #292421;
  --paper-deep: #2b2420;
  --white: #211c19;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.utility {
  background: var(--cocoa-dark);
  color: #e2d4c4;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--white) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-shell {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 38px);
  padding-block: 12px;
}

.brand-row {
  display: none;
}

.edition {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.logo {
  flex: 0 0 auto;
  text-align: left;
  text-transform: uppercase;
}

.logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.logo-sub {
  display: block;
  margin-top: 9px;
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.48em;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.main-nav {
  flex: 1 1 auto;
  border-top: 0;
}

.nav-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 32px);
}

.nav-inner a {
  flex: 0 0 auto;
  padding-block: 12px 10px;
  border-bottom: 3px solid transparent;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-inner a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.encyclopedia-hero {
  --category-hero-height: 244px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  block-size: var(--category-hero-height);
  background:
    radial-gradient(circle at 88% 8%, rgba(206, 149, 80, 0.22), transparent 20rem),
    linear-gradient(135deg, #2b1a14 0%, #6f3e2f 62%, #2b1a14 100%);
  color: #faf5ed;
}

.encyclopedia-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -13rem;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3.2rem rgba(255, 255, 255, 0.024), 0 0 0 6.4rem rgba(255, 255, 255, 0.018);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
}

.encyclopedia-hero h1 {
  display: -webkit-box;
  max-width: 820px;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.45vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.hero-copy {
  display: -webkit-box;
  max-width: 580px;
  overflow: hidden;
  margin: 14px 0 0;
  color: #e7d7c5;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.hero-stat {
  padding: 14px 16px;
}

.hero-stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-value {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 7px;
  color: #d8c6b3;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory {
  padding: 34px 0 100px;
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 150px 150px;
  gap: 14px;
  margin-bottom: 25px;
}

.search-box,
.filter-select,
.filter-chip,
.filter-clear {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 18px;
  width: 19px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-height: 52px;
  border: 0;
  outline: 0;
  padding: 0 18px 0 50px;
  background: transparent;
  color: var(--ink);
}

.filter-select {
  padding: 0 42px 0 16px;
}

.filter-clear {
  cursor: pointer;
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chip {
  min-height: 44px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chip[aria-pressed="true"],
.filter-chip:hover,
.filter-chip:focus-visible,
.filter-clear:hover,
.filter-clear:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.letter-index {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.letter-index button {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.letter-index button[aria-pressed="true"],
.letter-index button:hover,
.letter-index button:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-card {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-card[hidden] {
  display: none !important;
}

.brand-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.brand-mark {
  position: relative;
  min-height: 142px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 3.65rem;
  letter-spacing: -0.08em;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 35%, #ddd);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 110px;
  aspect-ratio: 1;
  right: -55px;
  bottom: -55px;
  border: 18px solid color-mix(in srgb, var(--brand-accent) 8%, transparent);
  transform: rotate(20deg);
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 88px;
  object-fit: contain;
}

.brand-logo[src*="soma-chocolatemaker/logo-full.webp"],
.brand-hero-logo[src*="soma-chocolatemaker/logo-full.webp"] {
  box-sizing: border-box;
  background: #2b1a14;
  padding: 14px 18px;
}

.logo-fallback {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
}

.card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.brand-hero {
  padding: 54px 0 64px;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--brand-accent) 64%, transparent), transparent 29rem),
    linear-gradient(140deg, #17100d, #352019);
  color: #faf5ed;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 50px;
  color: #c6b9ad;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: #fff;
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 330px;
  align-items: end;
  gap: 70px;
}

.brand-hero h1 {
  font-size: clamp(4rem, 9vw, 8rem);
}

.brand-deck {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d5c8bd;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
}

.brand-seal {
  min-height: 270px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 34px;
  background: #fff;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 6rem;
  letter-spacing: -0.09em;
  box-shadow:
    inset 0 0 0 13px color-mix(in srgb, var(--brand-accent) 8%, #fff),
    0 24px 70px rgba(0, 0, 0, 0.2);
}

.brand-hero-logo {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.brand-content {
  padding: 68px 0 100px;
}

.brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
  gap: 80px;
}

.section-label {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story h2,
.facts-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.story-copy {
  margin: 28px 0 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.featured-products,
.products {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.featured-products h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.product-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-image {
  height: 260px;
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-card figcaption {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.product-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card figcaption a {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.product-tag {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.73rem;
}

.fact-list {
  margin: 23px 0 0;
  border-top: 2px solid var(--ink);
}

.fact-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row dt {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.48;
}

.fact-row a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-box {
  margin-top: 50px;
  padding: 28px;
  background: var(--paper-deep);
}

.source-box h2 {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.source-box ol {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.source-box a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editor-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.brand-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 68px;
  border: 1px solid var(--line);
}

.pager-link {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--white);
}

.pager-link + .pager-link {
  align-items: flex-end;
  border-left: 1px solid var(--line);
  text-align: right;
}

.pager-direction {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pager-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

footer {
  padding: 48px 0;
  background: var(--cocoa-dark);
  color: #e2d4c4;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  align-items: start;
  gap: 42px;
}

.footer-identity {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.footer-logo-link {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
}

.footer-logo-image {
  width: min(260px, 72vw);
  height: auto;
  border-radius: 0;
  opacity: 0.96;
}

.footer-note {
  color: #c8b9aa;
  font-size: 0.72rem;
}

.footer-menu {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-menu-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-menu a {
  color: #f3e8dc;
  font-size: 0.78rem;
  font-weight: 750;
}

@media (max-width: 980px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .brand-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: 620px;
  }

  .brand-seal {
    width: 270px;
  }

  .brand-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1220px);
  }

  .utility {
    display: none;
  }

  .brand-row {
    min-height: 78px;
    grid-template-columns: auto 1fr;
  }

  .edition {
    display: none;
  }

  .logo {
    text-align: left;
  }

  .logo-main {
    font-size: 2rem;
  }

  .logo-sub {
    margin-top: 7px;
    letter-spacing: 0.34em;
  }

  .nav-inner {
    justify-content: flex-start;
  }

  .encyclopedia-hero {
    --category-hero-height: 380px;
  }

  .encyclopedia-hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.45rem);
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 1rem;
  }

  .directory-tools {
    grid-template-columns: 1fr;
  }

  .directory-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card {
    min-height: 330px;
  }

  .brand-mark {
    min-height: 118px;
  }

  .brand-hero {
    padding-top: 28px;
  }

  .breadcrumb {
    margin-bottom: 38px;
  }

  .brand-seal {
    width: 220px;
    min-height: 220px;
    font-size: 4.8rem;
  }

  .product-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 340px;
  }

  .brand-mark {
    min-height: 150px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 300px;
  }

  .brand-pager {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 14px 16px;
  }

  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .pager-link + .pager-link {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Public sürüm tek, beyaz tema kullanır. */
.site-header {
  z-index: 20;
  background: var(--white);
  backdrop-filter: none;
}

.header-shell {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 44px);
  padding-block: 10px;
}

.brand-row {
  display: none;
}

.logo {
  flex: 0 0 auto;
  justify-self: auto;
  text-align: left;
}

.site-logo-image {
  display: block;
  width: clamp(230px, 21vw, 285px);
  height: auto;
  border-radius: 0;
}

.logo-main {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.52em;
}

.nav-inner {
  min-height: 48px;
  gap: clamp(18px, 2vw, 30px);
}

.nav-inner a {
  padding-block: 12px 10px;
  border-bottom: 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.055em;
}

.nav-inner a[aria-current="page"],
.nav-inner a:hover,
.nav-inner a:focus-visible {
  color: var(--red);
}

.header-rule {
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .header-shell {
    min-height: 86px;
    padding-block: 8px;
    gap: 16px;
  }

  .logo {
    text-align: left;
  }

  .site-logo-image {
    width: 178px;
  }
}
