/*
Theme Name: Lemaire Style
Theme URI: https://jj.have8have8.com
Author: ROBOTION
Description: Minimalist luxury fashion theme inspired by Lemaire
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&family=Noto+Serif+KR:wght@300;400&family=Noto+Sans+KR:wght@300;400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f5f3ee;
  --warm-white: #faf9f6;
  --charcoal: #1c1c1a;
  --mid-gray: #6b6b67;
  --light-gray: #d4d2cc;
  --border: #e0ddd8;
  --font-serif: 'Cormorant Garamond', 'Noto Serif KR', 'Georgia', serif;
  --font-sans: 'Jost', 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 60px;
}

.header-nav-left {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav-left a,
.header-nav-right a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header-nav-left a:hover,
.header-nav-right a:hover {
  opacity: 0.5;
}

.site-logo {
  text-align: center;
}

.site-logo img {
  height: 18px;
  width: auto;
  display: inline-block;
  filter: brightness(0);
}

.header-nav-right {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
}

.cart-icon, .search-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── PRIMARY NAV ─── */
.primary-nav {
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px 40px;
}

.primary-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: opacity 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.primary-nav a:hover {
  border-bottom-color: var(--charcoal);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 92vh;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: white;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.7);
  color: white;
  padding: 12px 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.hero-cta:hover {
  background: white;
  color: var(--charcoal);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  padding: 0;
}

.hero-dot.active {
  background: white;
}

/* ─── SECTION TITLES ─── */
.section-header {
  text-align: center;
  padding: 80px 40px 48px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ─── PRODUCT GRID ─── */
.product-section {
  padding: 0 40px 80px;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-info {
  padding: 16px 4px 24px;
}

.product-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.product-price {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

/* ─── WIDE PRODUCT GRID (3 cols) ─── */
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ─── EDITORIAL BANNER ─── */
.editorial-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

.editorial-block {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.editorial-block img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.editorial-block:hover img {
  transform: scale(1.02);
}

.editorial-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: white;
}

.editorial-text .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.85;
}

.editorial-text .title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.editorial-text .cta-btn {
  display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 3px;
}

/* ─── FULL-WIDTH BANNER ─── */
.full-banner {
  position: relative;
  overflow: hidden;
  margin: 2px 0;
}

.full-banner img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  object-position: center 30%;
}

.full-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.full-banner-text .label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}

.full-banner-text .title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.full-banner-text .cta-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.7);
  color: white;
  padding: 12px 36px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.full-banner-text .cta-btn:hover {
  background: white;
  color: var(--charcoal);
}

/* ─── LOOKBOOK STRIP ─── */
.lookbook-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 2px 0;
}

.lookbook-item {
  overflow: hidden;
  cursor: pointer;
}

.lookbook-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lookbook-item:hover img {
  transform: scale(1.04);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background-color: var(--cream);
  text-align: center;
  padding: 80px 40px;
  margin-top: 80px;
}

.newsletter-section .section-title {
  margin-bottom: 16px;
}

.newsletter-section p {
  color: var(--mid-gray);
  font-size: 13px;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--charcoal);
  border-right: none;
  background: transparent;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  outline: none;
  color: var(--charcoal);
}

.newsletter-form input::placeholder {
  color: var(--mid-gray);
}

.newsletter-form button {
  background: var(--charcoal);
  color: white;
  border: 1px solid var(--charcoal);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-form button:hover {
  opacity: 0.75;
}

/* ─── FOOTER ─── */
.site-footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 60px 80px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
}

/* ─── DIVIDER ─── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── VIEW ALL LINK ─── */
.view-all-wrap {
  text-align: center;
  padding: 40px 0 60px;
}

.view-all {
  display: inline-block;
  border-bottom: 1px solid var(--charcoal);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.view-all:hover {
  opacity: 0.5;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
    height: 52px;
  }
  .primary-nav {
    gap: 20px;
    padding: 10px 20px;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar { display: none; }
  .hero-slide img {
    height: 70vh;
  }
  .hero-content {
    bottom: 40px;
    left: 30px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-banner {
    grid-template-columns: 1fr;
  }
  .editorial-block img {
    height: 50vh;
  }
  .lookbook-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-section {
    padding: 0 16px 60px;
  }
  .section-header {
    padding: 60px 20px 36px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer {
    padding: 48px 24px 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .header-nav-left {
    display: none;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-right: 1px solid var(--charcoal);
    border-bottom: none;
  }
  .newsletter-form button {
    width: 100%;
  }
}

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