@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --pink: #c9829a;
  --pink-dark: #a85d78;
  --pink-light: #f8e9ee;
  --cream: #fffaf8;
  --text: #30272a;
  --muted: #76696d;
  --white: #ffffff;
  --border: #eadde1;
  --shadow: 0 12px 35px rgba(48, 39, 42, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 248, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: auto;
}

.logo span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: .55rem;
  letter-spacing: 4px;
  text-align: center;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  font-weight: 600;
  color: var(--muted);
}

nav a:hover {
  color: var(--pink-dark);
}

.cart-btn,
.menu-toggle,
.cart-header button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-btn {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

#cartCount {
  background: var(--pink);
  color: var(--white);
  border-radius: 50%;
  padding: 2px 7px;
  margin-left: 5px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
}

.hero {
  padding: 90px 0;
  background: linear-gradient(135deg, #fffaf8, #f8e9ee);
}

.hero-content {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  color: var(--pink-dark);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
}

h1 span {
  color: var(--pink-dark);
}

.hero-text {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 24px 0 30px;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 13px 25px;
  cursor: pointer;
  font-weight: 700;
}

.primary {
  color: var(--white);
  background: var(--pink-dark);
}

.primary:hover {
  opacity: .9;
}

.hero-card {
  display: grid;
  place-items: center;
}

.hero-circle {
  width: min(360px, 75vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 12px solid rgba(201, 130, 154, .15);
  font-family: "Playfair Display", serif;
  font-size: 2.7rem;
  letter-spacing: 3px;
}

.hero-circle small {
  font-family: "DM Sans", sans-serif;
  font-size: .75rem;
  letter-spacing: 5px;
}

.products-section,
.about,
.contact {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-top: 10px;
}

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.toolbar input,
.toolbar select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  outline: none;
}

.toolbar input:focus,
.toolbar select:focus {
  border-color: var(--pink);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(48, 39, 42, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 230px;
  background: var(--pink-light);
  display: grid;
  place-items: center;
  font-size: 3.5rem;
}

.product-info {
  padding: 18px;
}

.product-info small {
  color: var(--pink-dark);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-info h3 {
  margin: 5px 0;
}

.product-info p {
  color: var(--muted);
  font-size: .9rem;
  min-height: 45px;
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 12px 0;
}

.add-btn {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-weight: 700;
  cursor: pointer;
}

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

.about {
  background: var(--pink-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-content > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact {
  text-align: center;
}

.contact-box {
  padding: 65px 25px;
  border-radius: 25px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact a {
  margin-top: 2rem;
}

.contact-box p:not(.eyebrow) {
  color: var(--muted);
  margin: 15px auto 25px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.35);
  display: none;
}

.cart-overlay.active {
  display: block;
}

.cart {
  margin-left: auto;
  width: min(420px, 92%);
  height: 100%;
  background: var(--white);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.cart-header button {
  font-size: 2rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item h4 {
  margin-bottom: 3px;
}

.cart-item small {
  color: var(--muted);
}

.remove-item {
  border: 0;
  background: transparent;
  color: var(--pink-dark);
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: grid;
  gap: 15px;
}

.empty-cart {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

footer {
  background: var(--text);
  color: var(--white);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .85rem;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content,
  .about-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-card {
    order: -1;
  }
}

@media (max-width: 650px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 68px;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  nav.open {
    display: flex;
  }

  .cart-btn {
    font-size: .85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 3.6rem;
  }
}
