:root {
  --radius: 12px;

  --1: #7f55b1;
  --2: #9b7ebd;
  --3: #f49bab;
  --4: #ffe1e0;
  --5: #eae9ec;

  --clr-text: #2f2f2f;
  --clr-muted: #6b7280;
  --clr-accent: var(--1);
  --clr-accent-soft: rgba(127, 85, 177, 0.15);

  --bg-main: var(--4);
  --bg-card: var(--5);
  --bg-card-soft: #f1f0f4;

  --border-soft: rgba(0, 0, 0, 0.06);
  --shadow-soft: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--4);
  color: var(--clr-text) !important;
  font-family: "Quicksand", "IRANYekan", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(180deg, var(--5), var(--4));
  border-bottom: 1px solid var(--border-soft);
  z-index: 1200;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-title {
  font-family: "Playfair Display", serif;
  color: var(--1);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.6px;
}

/* Nav */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  color: var(--clr-text);
  opacity: 0.9;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.22s, transform 0.18s;
}

.nav a:hover {
  color: var(--1);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  height: 72vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 60px;
  background-image:
    linear-gradient(
      rgba(255, 225, 224, 0.85),
      rgba(255, 225, 224, 0.85)
    ),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-soft);
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kicker {
  color: var(--2);
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  font-size: 14px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  color: var(--1);
  font-size: 44px;
  margin: 0 0 12px 0;
  line-height: 1.02;
  letter-spacing: 0.4px;
}

.hero p {
  color: var(--clr-muted);
  font-size: 18px;
  margin: 0 0 22px;
  max-width: 720px;
  margin-inline: auto;
}

.cta {
  display: inline-block;
  background: var(--1);
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid var(--border-soft);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: 0 6px 16px var(--shadow-soft);
}

.cta:hover {
  transform: translateY(-4px);
  background: var(--2);
}

/* quick links */
.quick {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.quick a {
  background: var(--5);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--clr-text);
  font-size: 13px;
  border: 1px solid var(--border-soft);
}

/* Grid layout */
.container {
  margin: 28px auto;
}

/* categories strip */
.categories {
  display: flex;
  gap: 14px;
  overflow: auto;
  padding: 12px;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.cat {
  min-width: 140px;
  background: var(--5);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--clr-text);
  border: 1px solid var(--border-soft);
}

.cat small {
  display: block;
  color: var(--clr-muted);
  font-weight: 500;
  margin-top: 8px;
  font-size: 12px;
}

/* featured products */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.section-title h3 {
  font-family: "Playfair Display", serif;
  color: var(--1);
  margin: 0;
  font-size: 20px;
}

.section-title a {
  color: var(--3);
  font-size: 13px;
  font-weight: 600;
}

/* product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

/* about */
.about {
  margin: 36px 0;
  padding: 24px;
  background: var(--5);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.about h3 {
  font-family: "Playfair Display", serif;
  color: var(--1);
  margin: 0 0 8px;
}

.about p {
  color: var(--clr-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

/* newsletter */
.news {
  margin: 40px auto;
  max-width: 680px;
  background: var(--5);
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-soft);
}

.news input {
  width: 65%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card-soft);
  color: var(--clr-text);
  outline: none;
  margin-left: 12px;
}

.news button {
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--1);
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* footer */
.footer {
  margin-top: 40px;
  padding: 28px 18px;
  background: linear-gradient(180deg, var(--4), var(--5));
  text-align: center;
  color: var(--clr-text);
}

.footer a {
  color: var(--1);
  font-weight: 600;
  margin: 0 8px;
}

/* responsive */
@media (max-width: 720px) {
  .hero h1 {
    font-size: 34px;
  }
  .logo-title {
    font-size: 18px;
  }
  .nav {
    display: none;
  }
  .cta {
    padding: 10px 18px;
  }
  .news input {
    width: 100%;
    margin: 8px 0 12px 0;
    display: block;
  }
}
