/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --cream: #f8f5f0;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gray-100: #f4f4f2;
  --gray-200: #e8e6e1;
  --gray-500: #9a9690;
  --gray-700: #5a5650;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --header-h: 70px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Logos: avoid global cover/100% sizing; raster-in-SVG sharpness + no blend smear on white header */
img.logo-img {
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.product-detail-media img {
  object-fit: cover;
  object-position: center;
}

/* EN page = Etsy only, TR page = Shopier only — [hidden] must override .btn display. */
.product-detail-actions .btn-shopier[hidden],
.product-detail-actions .btn-etsy[hidden] {
  display: none !important;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

/* ── Brand row: logo + socials left | actions right ── */
.header-brand-row {
  border-bottom: 1px solid var(--gray-200);
}

.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 112px;
}

.site-logo {
  display: flex;
  align-items: center;
  isolation: isolate;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: normal;
  transition: opacity var(--transition);
}

.logo-img:hover { opacity: 0.8; }

.logo-img-footer {
  height: 126px;
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
}

.logo-img-footer:hover { opacity: 0.7; }

.site-footer img.logo-img {
  object-position: center;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 6px;
  border-left: 1px solid var(--gray-200);
  margin-left: 4px;
}

.header-socials a {
  display: flex;
  align-items: center;
  color: var(--black);
  opacity: 0.55;
  transition: opacity var(--transition);
}

.header-socials a:hover { opacity: 1; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--black);
  white-space: nowrap;
}

.header-brand-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.header-brand-name:hover { opacity: 0.7; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  min-width: 112px;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.header-lang a {
  color: var(--black);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity var(--transition);
}

.header-lang a:hover {
  opacity: 1;
}

.header-lang a[aria-current="page"] {
  opacity: 1;
  pointer-events: none;
}

.header-lang-sep {
  color: var(--gray-500);
  opacity: 0.45;
  user-select: none;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--black);
  padding: 4px;
  transition: opacity var(--transition);
}

.icon-btn:hover { opacity: 0.6; }

.bag-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Nav row: centered links ── */
.header-nav-row {
  border-bottom: 1px solid var(--gray-200);
}

.header-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 48px;
  position: relative;
}

.nav-primary ul {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-primary a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  position: relative;
  padding-bottom: 2px;
}

.nav-primary a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width var(--transition);
}

.nav-primary a:hover::after,
.nav-primary a.active::after { width: 100%; }

/* Mobile toggle lives in the nav row */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  position: absolute;
  left: 40px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--black);
  transition: var(--transition);
}

/* Legacy fallback — keep .header-inner for any missed markup */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: clamp(500px, 65vh, 720px);
  overflow: hidden;
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  color: var(--white);
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 340px;
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-prev, .hero-next {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color var(--transition);
}

.hero-prev:hover, .hero-next:hover { color: var(--white); }

.hero-dots { display: flex; gap: 8px; }

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.4);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
}

.btn-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-700);
  font-weight: 400;
}

.dot-divider { color: var(--gold) !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--black); color: var(--white); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 40px; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.section-eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.02em;
  flex: 1;
}

.section-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.section-link:hover { opacity: 0.6; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  gap: 32px;
}

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

.product-card { display: flex; flex-direction: column; }

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 16px;
}

.product-image-wrap img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  font-weight: 500;
}

.product-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  justify-content: center;
}

.product-card:hover .product-actions { opacity: 1; }

.btn-add {
  background: var(--white);
  color: var(--black);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 24px;
  font-family: var(--font-sans);
  transition: all var(--transition);
  width: 100%;
}

.btn-add:hover {
  background: var(--black);
  color: var(--white);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 6px;
}

.product-price {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 400;
}

/* ===== COLLECTIONS GRID ===== */
.collections-banner {
  margin-bottom: 40px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.collection-card {
  position: relative;
  display: block;
  text-align: center;
}

.collection-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.collection-image img { transition: transform 0.7s ease; }
.collection-card:hover .collection-image img { transform: scale(1.05); }

.collection-label {
  padding-top: 18px;
  color: var(--black);
}

.collection-label h3 {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

/* ===== EDITORIAL ===== */
.editorial { padding: 0; }

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(360px, 42vh, 460px);
  min-height: 0;
  overflow: hidden;
}

.editorial-image {
  aspect-ratio: unset;
  height: 100%;
  overflow: hidden;
}

.editorial-content {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 48px 56px;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin: 12px 0 20px;
}

.editorial-title em {
  font-style: italic;
  color: var(--gold);
}

.editorial-text {
  color: var(--gray-700);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.editorial-content .btn { margin-top: 8px; align-self: flex-start; }

/* ===== INSTAGRAM ===== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.instagram-tile img { transition: transform 0.5s ease; }
.instagram-tile:hover img { transform: scale(1.06); }

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.instagram-tile:hover .instagram-overlay { opacity: 1; }

/* ===== ABOUT ===== */
.about-inner { text-align: center; padding: 24px 0; }

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  margin: 16px 0 32px;
  color: var(--white);
}

.about-text {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 56px 0;
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.value-item { text-align: center; color: var(--white); }

.value-icon {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
}

.value-item h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  padding: 96px 0;
  text-align: center;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  margin: 12px 0 16px;
}

.newsletter-text {
  color: var(--gray-700);
  margin-bottom: 36px;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  padding: 13px 20px;
  border: 1px solid var(--gray-200);
  border-right: none;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  background: var(--white);
  transition: border-color var(--transition);
}

.newsletter-input:focus { border-color: var(--black); }

.newsletter-form .btn { border-left: none; }

.newsletter-message {
  min-height: 18px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--black);
  font-weight: 500;
}

.newsletter-message.error {
  color: #8a2f2f;
}

.newsletter-note {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.06em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.social-links { display: flex; gap: 16px; }

.social-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.social-links a:hover { color: var(--white); }

.footer-links h5 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.4);
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-content { padding: 56px 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .announcement-bar { font-size: 10px; padding: 8px 16px; }

  /* Mobile brand row */
  .header-brand-inner { padding: 0 20px; height: 62px; }
  .header-inner { padding: 0 20px; }
  .header-left,
  .header-actions { min-width: 72px; }
  .header-brand-name {
    font-size: 13px;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
    max-width: calc(100% - 150px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hide social icons on small screens to save space */
  .header-socials { display: none; }

  /* Mobile nav row */
  .header-nav-inner { height: 42px; padding: 0 20px; }

  .nav-toggle { display: flex; }

  .nav-primary {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-primary.open { display: flex; }

  .nav-primary ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-primary a {
    font-size: 22px;
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: none;
  }

  .hero { height: 85vw; min-height: 400px; }
  .hero-content { left: 6%; bottom: 12%; }

  .container, .container--narrow { padding: 0 20px; }

  .section { padding: 64px 0; }

  .section-header { flex-wrap: wrap; }

  .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-grid { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .editorial-image { aspect-ratio: 4/3; height: auto; }
  .editorial-content { padding: 48px 24px; }

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

  .about-values { grid-template-columns: 1fr; gap: 32px; }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid var(--gray-200); border-bottom: none; }
  .newsletter-form .btn { border-left: 1px solid var(--black); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid--3 { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
