:root {
  --ink: #25211f;
  --muted: #766c66;
  --line: #e7ded7;
  --paper: #fffaf6;
  --soft: #f3ebe3;
  --petal: #f9dce2;
  --sage: #dfe9df;
  --rose: #be4f62;
  --leaf: #47715d;
  --sun: #e9b65e;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(61, 38, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(249, 220, 226, 0.34), rgba(255, 250, 246, 0) 360px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), #d98472);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(190, 79, 98, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--rose);
}

.cart-button,
.primary-action,
.checkout-button,
.contact-form button {
  border: 0;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.cart-button {
  min-height: 42px;
  padding: 0 12px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-button strong {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-size: 0.86rem;
}

.cart-button:hover,
.primary-action:hover,
.checkout-button:hover,
.contact-form button:hover {
  background: var(--rose);
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(37, 33, 31, 0.76), rgba(37, 33, 31, 0.34), rgba(37, 33, 31, 0.08)),
    url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(255, 250, 246, 0));
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18vh;
  color: var(--white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd7a2;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.intro {
  position: relative;
}

.intro::after {
  content: "";
  width: 180px;
  aspect-ratio: 1;
  justify-self: end;
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  opacity: 0.35;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 38%, var(--petal) 0 18%, transparent 19%),
    radial-gradient(circle at 62% 48%, #f0a7b0 0 15%, transparent 16%),
    radial-gradient(circle at 42% 62%, var(--sage) 0 18%, transparent 19%);
  pointer-events: none;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro > p,
.contact > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.shop {
  width: 100%;
  padding: 64px max(16px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(247, 239, 233, 0.82)),
    radial-gradient(circle at 88% 8%, rgba(233, 182, 94, 0.16), transparent 26%),
    radial-gradient(circle at 8% 16%, rgba(190, 79, 98, 0.12), transparent 24%);
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.search-box {
  width: min(360px, 100%);
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-box input,
.contact-form input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.search-box input:focus,
.contact-form input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(190, 79, 98, 0.12);
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.category-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(61, 38, 31, 0.06);
}

.category-tabs button.active {
  color: var(--white);
  border-color: var(--leaf);
  background: linear-gradient(135deg, var(--leaf), #6f9a78);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(61, 38, 31, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(190, 79, 98, 0.34);
  box-shadow: 0 18px 44px rgba(61, 38, 31, 0.14);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1 / 0.88;
  background: var(--soft) center / cover;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(37, 33, 31, 0.16), rgba(37, 33, 31, 0));
}

.product-info {
  padding: 16px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 10px;
  padding: 0 10px;
  color: var(--leaf);
  background: var(--sage);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-info h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.product-info p {
  min-height: 66px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  color: var(--rose);
  font-weight: 800;
}

.add-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), #d98472);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(190, 79, 98, 0.18);
}

.add-button:hover {
  background: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
}

.contact {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.contact-form button {
  min-height: 46px;
  padding: 0 20px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: end;
  background: rgba(37, 33, 31, 0.42);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(249, 220, 226, 0.26), rgba(255, 250, 246, 0) 220px),
    var(--paper);
  box-shadow: var(--shadow);
}

.cart-head {
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 1.4rem;
}

.cart-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.cart-total {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.checkout-button {
  min-height: 50px;
  margin: 0 20px 20px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .intro,
  .contact,
  .shop-toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro::after {
    display: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 20px, 1120px);
    gap: 12px;
  }

  .cart-button span {
    display: none;
  }

  .hero-content,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero-content {
    padding-bottom: 14vh;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

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

  .product-info p {
    min-height: 0;
  }
}
