/* Nordic Shelf — sakin İskandinav raf düzeni */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

.sht-nordic {
  --sht-nordic-ink: #134e4a;
  --sht-nordic-soft: #f0fdfa;
  --sht-nordic-line: #ccfbf1;
  font-family: Manrope, Inter, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 4px 0 12px;
}

.sht-nordic__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid var(--sht-nordic-line);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.06);
}

@media (max-width: 860px) {
  .sht-nordic__hero {
    grid-template-columns: 1fr;
  }
}

.sht-nordic__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.sht-nordic__hero h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #134e4a;
  line-height: 1.12;
}

.sht-nordic__hero-copy > p:last-of-type {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5b716e;
  max-width: 42ch;
}

.sht-nordic__search {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  max-width: 480px;
}

.sht-nordic__search input {
  flex: 1;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #99f6e4;
  padding: 0 18px;
  font: inherit;
  background: #fff;
  color: #134e4a;
}

.sht-nordic__search button {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: #0f766e;
}

.sht-nordic__hero-panel {
  display: grid;
  grid-template-rows: 1.4fr 1fr 1fr;
  gap: 10px;
  min-height: 220px;
}

.sht-nordic__hero-panel span {
  display: block;
  border-radius: 18px;
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
}

.sht-nordic__hero-panel span:nth-child(2) {
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  opacity: 0.85;
}

.sht-nordic__hero-panel span:nth-child(3) {
  background: linear-gradient(135deg, #f0fdfa, #99f6e4);
}

.sht-nordic__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sht-nordic__section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #134e4a;
}

.sht-nordic__section-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #5b716e;
}

.sht-nordic__section-head a {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.sht-nordic__shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 800px) {
  .sht-nordic__shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .sht-nordic__shelf-grid {
    grid-template-columns: 1fr;
  }
  .sht-nordic__search {
    flex-direction: column;
  }
}

.sht-nordic__shelf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 20px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sht-nordic__shelf strong {
  font-size: 16px;
  font-weight: 800;
  color: #134e4a;
  letter-spacing: -0.02em;
}

.sht-nordic__shelf span {
  font-size: 13px;
  color: #64748b;
}

.sht-nordic__shelf:hover {
  transform: translateY(-3px);
  border-color: #5eead4;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.1);
}

.sht-nordic__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 700px) {
  .sht-nordic__trust {
    grid-template-columns: 1fr;
  }
}

.sht-nordic__trust > div {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sht-nordic-soft);
  border: 1px solid var(--sht-nordic-line);
}

.sht-nordic__trust strong {
  display: block;
  font-size: 14px;
  color: #134e4a;
}

.sht-nordic__trust span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #5b716e;
}

/* Mount .shop-mp-hero içinde — hero’yu gizleme; sadece varsayılan hub/zone */
body[data-homepage-template="nordic-shelf"] .shop-hero-hub,
body[data-homepage-template="nordic-shelf"] #shop-homepage-default-zone {
  display: none !important;
}

body[data-homepage-template="nordic-shelf"] .shop-mp-hero {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

body[data-homepage-template="nordic-shelf"] .shop-homepage-template-mount:not([hidden]) {
  display: block;
  width: 100%;
}

[data-theme="dark"] .sht-nordic__hero {
  background: linear-gradient(180deg, #0f172a 0%, #134e4a 160%);
  border-color: #115e59;
}

[data-theme="dark"] .sht-nordic__hero h1,
[data-theme="dark"] .sht-nordic__section-head h2,
[data-theme="dark"] .sht-nordic__shelf strong,
[data-theme="dark"] .sht-nordic__trust strong {
  color: #ecfdf5;
}

[data-theme="dark"] .sht-nordic__shelf {
  background: #0f172a;
  border-color: #1e293b;
}

[data-theme="dark"] .sht-nordic__trust > div {
  background: #0f172a;
  border-color: #115e59;
}
