/* =====================================================
   HANE Store
   Light, quiet, family-boutique design system.
   Display type: Instrument Serif. Body: Albert Sans.
   ===================================================== */

:root {
  --bg:          #FBFAF7;
  --surface:     #FFFFFF;
  --ink:         #1C221E;
  --muted:       #5E665F;
  --faint:       #8B928B;
  --line:        #E7E4DB;
  --line-strong: #D9D5C9;
  --accent:      #1F4D3A;
  --accent-deep: #163A2C;
  --accent-soft: #ECF2EE;
  --sand:        #F4F2EB;
  --photo-bg:    #FFFFFF;
  --danger:      #A63D2F;
  --danger-soft: #F8ECEA;
  --ok:          #2E6B4F;
  --ok-soft:     #EAF3EE;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Albert Sans', -apple-system, 'Segoe UI', sans-serif;

  --radius:    14px;
  --radius-sm: 9px;
  --container: 1120px;
  --shadow: 0 1px 2px rgba(28, 34, 30, .04), 0 10px 30px rgba(28, 34, 30, .05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ---------- shared type ---------- */

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}

.section-sub {
  margin: .55rem 0 0;
  color: var(--muted);
  max-width: 46ch;
}

.price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent-deep);
  letter-spacing: .01em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #FDFDFB;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled {
  background: var(--line-strong);
  color: var(--muted);
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-small {
  padding: .42rem .95rem;
  font-size: .8rem;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-small:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #FDFDFB;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .22em;
  font-size: .95rem;
}

.main-nav {
  display: flex;
  gap: 1.8rem;
}

.main-nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--faint);
  transition: color .15s ease;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { color: var(--accent); }

.lang-sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* ---------- hero ---------- */

.hero { padding: 5.2rem 0 4.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  margin: 0 0 1.3rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* featured product card in hero */

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
}

.hero-card-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: .28rem .8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #FDFDFB;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Tüm ürün görselleri ayni kare cerceveye oturur. Fotograflar 1000x1000
   standardinda hazirlandigi icin "contain" ile hicbiri kirpilmaz ve
   her üründe ürün ayni büyüklükte görünür. */
.hero-card-media,
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.hero-card-media img,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
}

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

.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--line-strong);
  user-select: none;
}

.hero-card-body { padding: 1.15rem 1.3rem 1.3rem; }

.hero-card-name {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
}
.hero-card-name a { text-decoration: none; }
.hero-card-name a:hover { color: var(--accent); }

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* signature seal */

.seal {
  position: absolute;
  top: -34px;
  right: -26px;
  width: 108px;
  height: 108px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 10px rgba(28, 34, 30, .08));
  animation: seal-turn 40s linear infinite;
}

@keyframes seal-turn {
  from { transform: rotate(-8deg); }
  to   { transform: rotate(352deg); }
}

.seal-text {
  font-family: var(--font-body);
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: .18em;
  fill: var(--accent);
}

.seal-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  fill: var(--accent);
}

/* ---------- trust strip ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.trust-item {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
}

.trust-item svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-top: .15rem;
}

.trust-item h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 600;
}

.trust-item p {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------- shop ---------- */

.shop { padding: 4.6rem 0 5rem; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  padding: .42rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .16s ease;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FDFDFB;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

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

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card.is-hidden { display: none; }

.card-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: .24rem .7rem;
  border-radius: 999px;
  background: rgba(28, 34, 30, .78);
  color: #FDFDFB;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.05rem 1.2rem 1.25rem;
  flex: 1;
}

.card-cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.card-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.22;
}
.card-name a { text-decoration: none; }
.card-name a:hover { color: var(--accent); }

.card-meta {
  margin-top: auto;
  padding-top: .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- about ---------- */

.about {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
}

.about-inner {
  max-width: 720px;
  text-align: center;
}

.about-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
}

.about-body {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

/* ---------- contact CTA ---------- */

.cta { padding: 4.4rem 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem;
  background: var(--accent-soft);
  border: 1px solid #DCE7DF;
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem;
}

.cta-title {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
}

.cta-sub {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- product page ---------- */

.product-page { padding: 3rem 0 5rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.2rem;
  font-size: .82rem;
  color: var(--faint);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.product-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.6rem;
  align-items: start;
}

.product-media {
  position: sticky;
  top: 92px;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.media-fallback-lg { font-size: 7rem; }

/* Product gallery (multiple photos) */
.product-gallery {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.product-gallery .product-media {
  position: static;
  top: auto;
}
.product-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.7rem;
}
.thumb {
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--accent); border-width: 2px; }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 860px) {
  .product-gallery { position: static; }
}

/* Product options (colour / style choices) */
.options { margin: 1.6rem 0 0.4rem; }

.options-label {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.options-current {
  margin-left: 0.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
}

.option-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 0.7rem;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.45rem 0.45rem 0.55rem;
  margin: 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.option-sw {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--sand);
  border-radius: calc(var(--radius) - 10px);
}

.option-sw img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: var(--photo-bg); }

.option-name {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink);
}

.option:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.option.is-active {
  border-color: var(--accent);
  border-width: 2px;
  padding: 0.4rem 0.4rem 0.5rem;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.option.is-active .option-name { color: var(--accent); font-weight: 600; }

.option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.buy-note-option {
  padding: 0.55rem 0.7rem;
  background: var(--accent-soft);
  border-radius: calc(var(--radius) - 12px);
}

.product-name {
  margin: .5rem 0 .9rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.product-price {
  margin: 0 0 1.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--accent-deep);
}

.product-desc {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.product-desc-label {
  margin: 0 0 .6rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

.product-desc p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.buy-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.8rem;
}

.btn-buy {
  width: 100%;
  padding: .95rem 1.5rem;
  font-size: 1rem;
}

.buy-note {
  margin: .9rem 0 0;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
}

.buy-badges {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .7rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--faint);
}

.buy-badges svg { color: var(--accent); flex: 0 0 auto; }

.back-link {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }

/* ---------- contact page ---------- */

.contact-page { padding: 4.2rem 0 5.2rem; }

.contact-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3.6rem;
  align-items: start;
}

.contact-email { margin-top: 1.6rem; font-size: 1.02rem; }
.contact-email a { color: var(--accent); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.1rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field { display: flex; flex-direction: column; gap: .4rem; }

.field span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, .12);
}

.field textarea { resize: vertical; min-height: 130px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 1.2rem;
}

.notice-ok  { background: var(--ok-soft); color: var(--ok); border: 1px solid #CBE2D4; }
.notice-err { background: var(--danger-soft); color: var(--danger); border: 1px solid #ECCFC9; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 3.2rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}

.footer-name {
  font-weight: 600;
  letter-spacing: .22em;
  font-size: .92rem;
  margin-bottom: .3rem;
}

.footer-note {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  max-width: 56ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer-links a {
  font-size: .87rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--faint);
}

.footer-pay {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-pay svg { color: var(--accent); }

/* ---------- motion & responsive ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding: 3.6rem 0 3.4rem; }
  .hero-card { max-width: 480px; }
  .seal { top: -28px; right: -12px; width: 92px; height: 92px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-grid-2 { grid-template-columns: 1fr; gap: 2.4rem; }
  .product-media { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 1.8rem 1.6rem; }
  .contact-form-wrap { padding: 1.5rem 1.3rem; }
  .header-inner { height: 62px; }
}
