:root {
  --pink-50: #fff7fa;
  --pink-100: #ffe8f0;
  --pink-200: #ffd5e3;
  --rose: #e77fa1;
  --rose-dark: #a83f64;
  --berry: #7c243f;
  --cream: #fffdf8;
  --cocoa: #4d2a26;
  --sage: #7e9b81;
  --ink: #2b2024;
  --muted: #795e67;
  --line: rgba(124, 36, 63, 0.14);
  --shadow: 0 22px 55px rgba(124, 36, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.95) 0 10rem, transparent 18rem),
    linear-gradient(135deg, var(--pink-50), var(--pink-100) 48%, #f9d7de);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 247, 250, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.product-footer,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  color: var(--berry);
  min-width: max-content;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 248, 0.95);
  background: var(--cream);
  box-shadow: 0 8px 18px rgba(124, 36, 63, 0.16);
  object-fit: cover;
}

.nav-links {
  gap: clamp(0.8rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.header-action,
.primary-button,
.secondary-button,
.product-footer a,
.filter-button,
.order-form button {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.header-action,
.primary-button,
.order-form button {
  border: 0;
  border-radius: 999px;
  background: var(--berry);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(124, 36, 63, 0.18);
}

.header-action {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.header-action:hover,
.primary-button:hover,
.order-form button:hover,
.product-footer a:hover,
.instagram-link:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(19rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(88vh - 4.75rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 5vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--berry);
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
  font-size: clamp(4rem, 12vw, 8.8rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.order-section p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  color: var(--berry);
  font-weight: 800;
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: var(--cream);
}

.hero-showcase {
  position: relative;
  min-height: clamp(22rem, 41vw, 34rem);
}

.hero-image {
  position: absolute;
  object-fit: cover;
  border: 10px solid rgba(255, 253, 248, 0.85);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-image-large {
  right: 0;
  top: 0;
  width: min(82%, 34rem);
  aspect-ratio: 1;
}

.hero-image-small {
  left: 0;
  bottom: 0;
  width: min(48%, 19rem);
  aspect-ratio: 1;
}

.catalog-section,
.order-section {
  padding: clamp(3.25rem, 7vw, 6rem) clamp(1rem, 5vw, 5.5rem);
}

.section-heading {
  display: grid;
  gap: 0.1rem;
  max-width: 56rem;
  margin-bottom: 1.75rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.filter-button {
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--berry);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  background: var(--berry);
  color: white;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 16px 38px rgba(124, 36, 63, 0.1);
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1rem;
}

.product-tag {
  margin-bottom: 0.45rem;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info h3 {
  margin-bottom: 0.55rem;
  color: var(--cocoa);
  font-size: 1.2rem;
  line-height: 1.15;
}

.product-info p:not(.product-tag) {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-footer {
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.product-footer span {
  color: var(--berry);
  font-weight: 900;
}

.product-footer a {
  min-width: max-content;
  border-radius: 999px;
  background: var(--pink-200);
  color: var(--berry);
  padding: 0.55rem 0.78rem;
  font-size: 0.86rem;
  font-weight: 900;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background: rgba(255, 253, 248, 0.45);
  border-top: 1px solid var(--line);
}

.instagram-link {
  display: inline-flex;
  width: max-content;
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--berry);
  padding: 0.78rem 1rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(124, 36, 63, 0.08);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.instagram-link:hover {
  background: var(--berry);
  color: white;
}

.order-form {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--berry);
  font-size: 0.9rem;
  font-weight: 900;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 0.9rem;
  outline: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(231, 127, 161, 0.15);
}

.order-form button {
  min-height: 3rem;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1rem, 5vw, 5.5rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--berry);
  font-weight: 900;
}

.site-footer a {
  color: var(--berry);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 32rem;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    padding: 0.85rem 1rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .header-action {
    padding-inline: 0.85rem;
    font-size: 0.88rem;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  .hero-showcase {
    min-height: 25rem;
  }

  .hero-image {
    border-width: 7px;
    border-radius: 1rem;
  }

  .hero-image-large {
    width: 86%;
  }

  .hero-image-small {
    width: 52%;
  }

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

  .product-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
