/* PAPER MINT | Cozy Desk Styling */
:root {
  --primary-color: #79aa92; /* Mint Main */
  --primary-dark: #5f947a; /* Deep Mint */
  --primary-light: #e6f4ed; /* Light Mint */
  --point-color: #d9a7a9; /* Cozy Rose Pink */
  
  --bg-cozy: #fbfbf6; /* Cream White */
  --bg-white: #ffffff;
  
  --text-dark: #2b3030; /* Charcoal */
  --text-muted: #5e6b66; /* Gray-green */
  --border-color: #e5ece9;
  
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Montserrat', 'Noto Sans KR', sans-serif;
}

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

body {
  background-color: var(--bg-cozy);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Top Announcement */
.top-announcement {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Header & Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.1em;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--primary-color);
}

.sale-item {
  color: var(--point-color);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.utility-link:hover {
  color: var(--primary-color);
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.icon-btn:hover {
  color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hero Split Section */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 600px;
  background-color: var(--bg-cozy);
}

.hero-text-side {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  background-color: var(--bg-cozy);
}

.hero-text-content {
  max-width: 520px;
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 12px;
}

.hero-text-content h1 {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 22px;
  color: var(--text-dark);
}

.hero-text-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--bg-cozy);
  transform: translateY(-2px);
}

/* Promise Section */
.promise-section {
  padding: 60px 40px;
  background-color: var(--primary-light);
}

.promise-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.promise-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.promise-icon {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.promise-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.promise-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Editorial Collections */
.editorial-collections {
  padding: 90px 40px;
}

.section-title {
  max-width: 1440px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-title .subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 12px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 400;
}

.collections-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.collection-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(121, 170, 146, 0.08);
}

.card-img-box {
  height: 250px;
  overflow: hidden;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .card-img-box img {
  transform: scale(1.05);
}

.card-text {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-text h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.card-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.explore-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.05em;
}

/* Products Section */
.products-section {
  padding: 0 40px 100px;
}

.products-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.img-container {
  background-color: #f7faf8;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .img-container img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--point-color);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.meta {
  padding: 20px;
}

.meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta .price {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}

.meta .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: #edf2ef;
  color: var(--text-dark);
  padding: 80px 60px 40px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 50px;
}

.brand-info h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.brand-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 380px;
  line-height: 1.68;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-nav h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.footer-nav a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-nav a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(121, 170, 146, 0.2);
  padding-top: 25px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .header-container {
    padding: 20px 30px;
  }
  
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-text-side {
    padding: 60px 40px;
  }
  
  .hero-image-side {
    height: 400px;
  }
  
  .hero-text-content h1 {
    font-size: 3.1rem;
  }
  
  .promise-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    height: calc(100vh - 79px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .utility-link {
    display: none;
  }
  
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-text-side {
    padding: 40px 20px;
  }
  
  .hero-image-side {
    height: 320px;
  }
  
  .hero-text-content h1 {
    font-size: 2.35rem;
  }
  
  .hero-text-content p {
    margin-bottom: 22px;
  }
  
  .promise-section, .editorial-collections, .products-section {
    padding: 50px 20px;
  }
  
  .promise-container {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer {
    padding: 50px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
  }
}
