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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1A;
  background-color: #FFFFFF;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

ul {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.title-divider {
  width: 40px;
  height: 2px;
  background-color: #D63838;
  margin: 0 auto 48px;
}

/* ===== Header ===== */
.site-header {
  display: block;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  max-width: 100%;
}

.logo {
  display: block;
  margin: 0;
  background: transparent;
  flex-shrink: 0;
}

.logo-img {
  max-height: 60px;
  width: auto;
  display: block;
  background: transparent;
  mix-blend-mode: multiply;
  filter: contrast(1) brightness(1);
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: 0.04em;
}

.main-nav a {
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #D63838;
}

.main-nav a.active {
  color: #D63838;
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  display: block;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

/* ===== New Arrivals ===== */
.new-arrivals {
  display: block;
  padding: 80px 0 90px;
  text-align: center;
  background-color: #FFFFFF;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

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

.product-card {
  display: block;
  text-align: center;
}

.product-image-wrap {
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 3 / 4;
  min-height: 280px;
  background-color: #F5F5F5;
}

.product-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

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

.product-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.product-price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #D63838;
}

.product-card--sale {
  position: relative;
}

.sale-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background-color: #D63838;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 10px;
}

/* ===== Inner Pages ===== */
.page-section {
  display: block;
  padding: 80px 0 90px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.page-intro {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: #1A1A1A;
  margin: 32px 0 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact-details h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.contact-details p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #555555;
  margin-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid #E5E5E5;
  color: #1A1A1A;
  background-color: #FFFFFF;
  width: 100%;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  background-color: #1A1A1A;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s;
}

.contact-form button:hover {
  background-color: #D63838;
}

.form-message {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #D63838;
  margin-top: 8px;
  display: none;
}

.form-message.visible {
  display: block;
}

/* ===== Collection Banner ===== */
.collection-banner {
  display: block;
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
}

.collection-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 480px;
}

.collection-img {
  width: 100%;
  height: 480px;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.collection-overlay .collection-btn {
  pointer-events: auto;
}

.collection-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 96px;
  color: #FFFFFF;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.collection-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.2em;
  padding: 10px 36px;
  border: 1px solid #FFFFFF;
  transition: background-color 0.25s, color 0.25s;
}

.collection-btn:hover {
  background-color: #FFFFFF;
  color: #1A1A1A;
}

/* ===== Twice as Cozy ===== */
.twice-cozy {
  display: block;
  padding: 90px 0;
  background-color: #FFFFFF;
}

.cozy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cozy-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cozy-img {
  width: 100%;
  height: 340px;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  background-color: #F5F5F5;
}

.cozy-text {
  padding: 0 16px;
}

.cozy-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.cozy-text .title-divider {
  margin: 0 0 24px;
}

.cozy-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
  line-height: 1.8;
}

/* ===== Footer ===== */
.site-footer {
  display: block;
  padding: 0 0 40px;
  background-color: #FFFFFF;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #E5E5E5;
  margin-bottom: 48px;
}

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

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1A1A1A;
}

.footer-contact li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #E5E5E5;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #888888;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero-img {
    height: 480px;
  }

  .collection-banner,
  .collection-images {
    min-height: 400px;
  }

  .collection-img {
    height: 400px;
    min-height: 400px;
  }

  .collection-title {
    font-size: 72px;
    letter-spacing: 6px;
  }

  .cozy-img {
    height: 280px;
    min-height: 240px;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
  }

  .logo-img {
    max-height: 48px;
  }

  .main-nav {
    font-size: 12px;
    gap: 16px;
    justify-content: flex-start;
  }

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

  .hero {
    min-height: 280px;
  }

  .hero-img {
    height: 360px;
  }

  .new-arrivals {
    padding: 60px 0;
  }

  .section-title,
  .cozy-title {
    font-size: 28px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .collection-images {
    grid-template-columns: 1fr;
  }

  .collection-banner,
  .collection-images {
    min-height: 280px;
  }

  .collection-img {
    height: 280px;
    min-height: 280px;
  }

  .collection-title {
    font-size: 48px;
    letter-spacing: 4px;
  }

  .cozy-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cozy-images {
    grid-template-columns: 1fr;
  }

  .cozy-img {
    height: 320px;
    min-height: 280px;
  }

  .cozy-text {
    padding: 0;
    text-align: center;
  }

  .cozy-text .title-divider {
    margin: 0 auto 24px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}
