:root {
  color-scheme: light;
  --ink: #1f2521;
  --muted: #696a64;
  --paper: #f8f5ef;
  --surface: #ffffff;
  --mist: #eef2ee;
  --line: #dfd8cc;
  --sage: #5a7b68;
  --poppy: #b63733;
  --blue: #2b647b;
  --gold: #c09a42;
  --plum: #7a4a73;
  --shadow: 0 18px 46px rgba(31, 37, 33, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#koleksiyonlar,
#urunler {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 12px;
  position: fixed;
  top: -60px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  background: rgba(248, 245, 239, 0.93);
  border-bottom: 1px solid rgba(31, 37, 33, 0.09);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(160px, 1fr);
  left: 0;
  padding: 14px 32px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-self: start;
  min-width: 180px;
}

.brand-mark {
  background: #fff;
  border: 1px solid rgba(31, 37, 33, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 37, 33, 0.08);
  height: 62px;
  object-fit: cover;
  width: 62px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  justify-self: center;
}

.main-nav a {
  color: #393b36;
  font-size: 14px;
}

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

.language-switch {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 37, 33, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 3px;
  justify-self: end;
  padding: 3px;
}

.language-switch a {
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  min-width: 36px;
  padding: 0 10px;
}

.language-switch a[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.language-switch a:hover {
  color: var(--poppy);
}

.language-switch a[aria-pressed="true"]:hover {
  color: #fff;
}

.primary-action,
.secondary-action,
.filter-tabs button,
.product-card button,
.collection-card,
.source-link {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero {
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-media img,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 23, 20, 0.82) 0%, rgba(18, 23, 20, 0.58) 48%, rgba(18, 23, 20, 0.12) 100%),
    linear-gradient(0deg, rgba(18, 23, 20, 0.36) 0%, rgba(18, 23, 20, 0) 44%);
}

.hero-content {
  color: #fff;
  max-width: 690px;
  padding: 102px 32px 86px;
  position: relative;
}

.hero-logo {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
  height: 112px;
  margin: 0 0 20px;
  object-fit: cover;
  width: 112px;
}

.eyebrow {
  color: var(--poppy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd5c7;
}

.hero h1 {
  font-size: 64px;
  line-height: 0.98;
  margin: 0 0 18px;
}

.hero p {
  font-size: 18px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action {
  background: var(--sage);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
}

.primary-action:hover,
.secondary-action:hover,
.product-card button:hover,
.source-link:hover,
.collection-card:hover {
  transform: translateY(-1px);
}

.section,
.catalog-section {
  padding: 72px 32px;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 1180px;
}

.section-heading h2,
.catalog-toolbar h2 {
  font-size: 36px;
  line-height: 1.08;
  margin: 0;
}

.collection-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.collection-card {
  background: var(--surface);
  border-color: var(--line);
  min-height: 292px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.collection-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.collection-card::after {
  background: linear-gradient(0deg, rgba(18, 23, 20, 0.76), rgba(18, 23, 20, 0.06));
  content: "";
  inset: 0;
  position: absolute;
}

.collection-card div {
  bottom: 0;
  color: #fff;
  padding: 22px;
  position: absolute;
  z-index: 1;
}

.collection-card h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.collection-card p {
  margin: 0;
}

.catalog-section {
  background: #eef2ee;
}

.catalog-toolbar {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.4fr);
  margin: 0 auto 18px;
  max-width: 1180px;
}

.catalog-controls {
  display: grid;
  gap: 14px;
}

.search-control {
  display: grid;
  gap: 7px;
}

.search-control span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-control input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  outline: none;
  padding: 0 14px;
}

.search-control input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(90, 123, 104, 0.16);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  background: transparent;
  border-color: #c9d2c9;
  color: #363b36;
  min-height: 38px;
  padding: 8px 12px;
}

.filter-tabs button[aria-pressed="true"] {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.results-line {
  color: var(--muted);
  margin: 0 auto 18px;
  max-width: 1180px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(31, 37, 33, 0.1);
  border-radius: var(--radius);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.product-media {
  background: #e4e8e2;
  border: 0;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

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

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

.product-badge {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  left: 10px;
  padding: 5px 9px;
  position: absolute;
  top: 10px;
}

.product-copy {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.product-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin: 0;
}

.product-card p {
  color: var(--muted);
  margin: 0;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.swatch {
  border: 1px solid rgba(31, 37, 33, 0.18);
  border-radius: 999px;
  height: 18px;
  width: 18px;
}

.product-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-top: 4px;
}

.product-actions button {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  min-height: 40px;
  padding: 8px 10px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 26px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 26px 32px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  align-items: center;
  display: grid;
  gap: 3px 12px;
  grid-template-columns: auto auto;
}

.footer-brand img {
  background: #fff;
  border-radius: 50%;
  grid-row: span 2;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.footer-brand p:last-child {
  grid-column: 2;
}

.footer-social,
.source-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 800;
  padding: 9px 12px;
}

.footer-social:hover,
.source-link:hover {
  border-color: var(--poppy);
  color: var(--poppy);
}

.modal {
  align-items: center;
  background: rgba(10, 10, 10, 0.42);
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 22px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 80;
}

.modal.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 90vh;
  max-width: 1040px;
  overflow: auto;
  position: relative;
  width: min(100%, 1040px);
}

.plain-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1fr);
}

.modal-gallery {
  background: #dfe5df;
  min-height: 100%;
}

.modal-gallery img {
  height: 100%;
  max-height: 760px;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
}

.modal-copy h2 {
  font-size: 36px;
  line-height: 1.05;
  margin: 0;
}

.modal-copy p {
  color: var(--muted);
  margin: 0;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-list div {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(90px, 0.7fr) minmax(160px, 1.3fr);
  padding-bottom: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 22px;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    justify-self: center;
  }

  .language-switch {
    justify-self: center;
  }

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

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-gallery img {
    max-height: none;
    min-height: 0;
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 78px 22px 66px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .section,
  .catalog-section {
    padding: 52px 22px;
  }

  .collection-grid,
  .catalog-toolbar,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 250px;
  }

  .section-heading h2,
  .catalog-toolbar h2,
  .modal-copy h2 {
    font-size: 30px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .modal {
    padding: 12px;
  }

  .modal-copy {
    padding: 30px 22px;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 16px;
  }

  .brand-mark {
    height: 54px;
    width: 54px;
  }

  .hero {
    min-height: 470px;
  }

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

  .hero-logo {
    height: 88px;
    width: 88px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
