* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #1f1f1f;
  line-height: 1.6;
}

/* NAV */
.site-nav {
  background: #111111;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  color: #ffffff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* COMMON */
.section-tag,
.category-pill {
  display: inline-block;
  background: #f2e6db;
  color: #7a5f4b;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.home-section,
.section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.12;
}

.section-heading p {
  margin: 0;
  font-size: 17px;
  color: #5a5148;
}

.centered-section {
  padding-bottom: 30px;
}

.center-button-wrap {
  text-align: center;
  margin-top: 28px;
}

/* BUTTONS */
.btn-home {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.18s ease;
}

.btn-home:hover {
  transform: translateY(-2px);
}

.btn-home-dark {
  background: #111111;
  color: #ffffff;
}

.btn-home-light {
  background: #efe7df;
  color: #4f4035;
}

/* HOME HERO */
.home-hero.beauty-home-hero {
  background: linear-gradient(180deg, #f8f4ef 0%, #ffffff 100%);
  padding: 80px 24px 70px;
  border-bottom: 1px solid #ece7e1;
}

.home-hero-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 480px);
  gap: 36px;
  align-items: center;
}

.home-hero-copy {
  text-align: left;
}

.home-hero-copy h1 {
  margin: 16px 0 14px;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 700;
  max-width: 760px;
}

.home-hero-copy p {
  margin: 0 0 24px;
  font-size: 18px;
  color: #5c544c;
  max-width: 720px;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-hero-feature {
  display: flex;
  justify-content: center;
}

.feature-tile {
  width: 100%;
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.feature-tile img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
  margin: 18px auto 18px;
}

.feature-tile h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-tile p {
  margin: 0 0 14px;
  color: #5e554c;
}

.feature-tile strong {
  font-size: 30px;
}

/* HOME PRODUCTS */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.home-product-card {
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.home-product-image {
  height: 320px;
  background: #fbfaf8;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #efebe6;
}

.home-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.home-product-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-product-content h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  max-width: 280px;
}

.home-product-content p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #5f554c;
  max-width: 290px;
}

.home-product-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.home-product-bottom strong {
  font-size: 28px;
  line-height: 1;
}

.home-product-bottom span {
  font-size: 12px;
  color: #7a6f66;
}

/* BANDS / STORY */
.muted-band {
  background: #f8f5f1;
  max-width: none;
}

.benefit-grid-home {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-box-home {
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.benefit-box-home h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.benefit-box-home p {
  margin: 0;
  color: #61584f;
}

.two-column-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.story-box {
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
}

.story-box h2 {
  margin: 14px 0 12px;
  font-size: 34px;
  line-height: 1.14;
}

.story-box p {
  margin: 0 0 14px;
  color: #5c544b;
}

/* NOTICE */
.notice-card-home,
.content-card {
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
}

.notice-card-home {
  max-width: 920px;
  margin: 0 auto;
}

.notice-card-home h2,
.content-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* PRODUCTS PAGE */
.products-hero.sephora-style-hero {
  background: #f6f3ef;
  padding: 72px 20px 42px;
  text-align: center;
  border-bottom: 1px solid #ece7e1;
}

.products-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.products-hero-inner h1 {
  margin: 14px 0 12px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
}

.products-hero-inner p {
  margin: 0;
  font-size: 18px;
  color: #5a5148;
}

.products-page-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 26px 24px 74px;
}

.products-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.products-toolbar-left h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.products-toolbar-left p {
  margin: 0;
  color: #6b6259;
  font-size: 15px;
}

.products-grid.sephora-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.product-card.sephora-card {
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card.sephora-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.product-image-wrap.sephora-image-wrap {
  background: #fbfaf8;
  padding: 24px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #efebe6;
}

.product-image-wrap.sephora-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-content.sephora-content {
  padding: 20px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-content.sephora-content h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  max-width: 280px;
}

.product-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: #5f554c;
  line-height: 1.75;
  max-width: 290px;
}

.product-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.product-bottom strong {
  font-size: 28px;
  line-height: 1;
}

.product-bottom span {
  font-size: 12px;
  color: #7a6f66;
}

/* AUTH */
.auth-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 46px 24px 90px;
}

.auth-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ebe7e2;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.auth-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.auth-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7563;
  margin-bottom: 10px;
}

.auth-card-top h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.05;
}

.auth-subtext {
  margin: 0;
  max-width: 560px;
  color: #5e554c;
  font-size: 16px;
}

.auth-close-btn {
  color: #111111;
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  padding: 0 4px;
}

.auth-form-modern {
  margin-top: 22px;
}

.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.auth-field-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f1f1f;
}

.auth-field input {
  width: 100%;
  border: 1px solid #cfc7c0;
  background: #ffffff;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-field input:focus {
  border-color: #8b7563;
  box-shadow: 0 0 0 4px rgba(139, 117, 99, 0.10);
}

.auth-primary-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 20px;
  cursor: pointer;
}

.auth-primary-btn:hover {
  opacity: 0.96;
}

.auth-divider-line {
  height: 1px;
  background: #ece7e1;
  margin: 28px 0 24px;
}

.auth-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.auth-footer-row h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.auth-footer-row p {
  margin: 0;
  color: #62594f;
}

.auth-secondary-btn-modern {
  display: inline-block;
  padding: 12px 18px;
  border: 2px solid #111111;
  border-radius: 999px;
  text-decoration: none;
  color: #111111;
  font-weight: 700;
  white-space: nowrap;
}

.auth-alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.auth-alert-error {
  background: #fff1f1;
  color: #9b1c1c;
  border: 1px solid #ffd6d6;
}

.auth-alert-success {
  background: #eef9f0;
  color: #1c6b33;
  border: 1px solid #cfead5;
}

/* GENERIC */
.single-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: #111111;
  color: #ffffff;
  margin-top: 20px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
}

.footer-inner p {
  margin: 6px 0;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .home-product-grid,
  .products-grid.sephora-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .home-hero-inner,
  .benefit-grid-home,
  .two-column-story {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-copy h1 {
    font-size: 46px;
    max-width: none;
  }
}

@media (max-width: 980px) {
  .home-product-grid,
  .products-grid.sephora-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-hero-inner h1 {
    font-size: 42px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-field-grid-two {
    grid-template-columns: 1fr;
  }

  .auth-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .home-product-grid,
  .products-grid.sephora-grid {
    grid-template-columns: 1fr;
  }

  .home-hero.beauty-home-hero,
  .home-section,
  .section,
  .products-page-shell,
  .auth-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-product-image,
  .product-image-wrap.sephora-image-wrap {
    height: 300px;
    padding: 18px;
  }

  .home-hero-copy h1,
  .products-hero-inner h1,
  .auth-card-top h1 {
    font-size: 32px;
  }

  .section-heading h2,
  .story-box h2 {
    font-size: 28px;
  }

  .nav-links {
    gap: 12px;
  }

  .auth-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
}