:root {
  --yellow: #c9a0dc;
  --yellow-strong: #a779bf;
  --cream: #fffbed;
  --white: #fffefd;
  --peach: #f5c5b4;
  --peach-soft: #ffe8df;
  --brown: #3d3024;
  --brown-soft: #7c6a58;
  --line: rgba(96, 73, 42, 0.14);
  --shadow: 0 18px 42px rgba(91, 70, 38, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at top left, rgba(201, 160, 220, 0.42), transparent 24rem),
    linear-gradient(180deg, var(--white), var(--cream) 52%, var(--white));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f4ead4;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 0.55rem;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  color: #47304f;
  background: var(--yellow);
  border: 1px solid rgba(167, 121, 191, 0.44);
  font-family: "Playfair Display", Georgia, serif;
}

.nav-links {
  order: 3;
  width: 100%;
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-top: 0.2rem;
  color: var(--brown-soft);
  font-size: 0.94rem;
  font-weight: 700;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 160, 220, 0.18);
}

.header-action,
.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

.header-action {
  padding: 0 0.9rem;
  color: #3f2848;
  background: var(--yellow);
  font-size: 0.84rem;
}

.button {
  padding: 0 1.25rem;
  font-size: 0.95rem;
}

.button.primary,
.button.small,
.mini-button {
  color: #3f2848;
  background: var(--yellow);
  box-shadow: 0 12px 26px rgba(201, 160, 220, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button.small {
  width: fit-content;
  min-height: 42px;
  padding: 0 1rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 1rem 3rem;
}

.hero-copy {
  order: 2;
}

.hero-media {
  order: 1;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 0 0 5rem 5rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #8a5a9c;
  font-size: 0.74rem;
  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;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 42rem;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 13vw, 6.8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 9vw, 4.2rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
}

.hero-copy > p,
.section-heading,
.category-copy p,
.contact-band p,
.site-footer p {
  color: var(--brown-soft);
  line-height: 1.65;
}

.hero-copy > p {
  max-width: 35rem;
  font-size: 1.05rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.shop-section,
.featured-section,
.collections-section,
.contact-band {
  padding: 3.5rem 1rem;
}

.section-heading {
  max-width: 38rem;
  margin-bottom: 1.35rem;
}

.section-heading.centered {
  text-align: left;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.category-card,
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 253, 0.88);
  box-shadow: var(--shadow);
}

.category-card {
  display: grid;
}

.category-image {
  min-height: 16rem;
  aspect-ratio: 1 / 0.78;
}

.category-copy {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem;
}

.category-copy p {
  margin-bottom: 0.55rem;
}

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

.product-card {
  border-radius: 20px;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 260ms ease;
  touch-action: pan-y;
}

.gallery-track > img,
.gallery-track > .image-fallback {
  flex: 0 0 100%;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--brown);
  background: rgba(255, 254, 253, 0.82);
  box-shadow: 0 8px 18px rgba(61, 48, 36, 0.14);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow.previous {
  left: 0.55rem;
}

.gallery-arrow.next {
  right: 0.55rem;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 254, 253, 0.72);
  cursor: pointer;
}

.gallery-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--yellow);
}

.product-info {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
}

.product-info h3 {
  min-height: 2.9rem;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-info p {
  margin: 0;
  color: #8a5a9c;
  font-weight: 900;
}

.mini-button {
  min-height: 38px;
  padding: 0 0.95rem;
  font-size: 0.84rem;
}

.collections-section {
  background: rgba(255, 254, 253, 0.62);
}

.collection-block {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.collection-heading {
  display: grid;
  gap: 0.5rem;
}

.collection-heading h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.05;
}

.collection-heading p {
  max-width: 34rem;
  margin: 0;
  color: var(--brown-soft);
  line-height: 1.65;
}

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

.empty-category {
  grid-column: 1 / -1;
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 253, 0.82);
}

.empty-category h3 {
  margin-bottom: 0.35rem;
}

.empty-category p {
  margin: 0;
  color: var(--brown-soft);
  line-height: 1.6;
}

.contact-band {
  display: grid;
  gap: 1.35rem;
  color: var(--brown);
  background: linear-gradient(135deg, rgba(201, 160, 220, 0.86), var(--peach-soft));
}

.contact-band p {
  max-width: 35rem;
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  gap: 1.1rem;
  padding: 2rem 1rem;
  color: rgba(255, 248, 232, 0.78);
  background: var(--brown);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-links {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 248, 232, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 800;
}

.image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  padding: 1.2rem;
  color: #5f3d6c;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(201, 160, 220, 0.5), rgba(255, 232, 223, 0.68)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(201, 160, 220, 0.12) 14px 15px);
}

.image-fallback span {
  max-width: 13rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 7vw, 2.6rem);
  line-height: 1.05;
}

@media (min-width: 720px) {
  .site-header {
    flex-wrap: nowrap;
    padding: 1rem 2rem;
  }

  .nav-links {
    order: initial;
    width: auto;
    overflow: visible;
    padding-top: 0;
  }

  .nav-links a {
    min-height: auto;
    padding: 0;
    background: transparent;
  }

  .hero,
  .shop-section,
  .featured-section,
  .collections-section,
  .contact-band,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    align-items: center;
    gap: 2rem;
    min-height: calc(100vh - 4.5rem);
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-media {
    order: initial;
  }

  .hero-media {
    min-height: 34rem;
    border-radius: 0 0 8rem 8rem;
  }

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

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

  .collection-block {
    grid-template-columns: 0.72fr 1fr;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem 0;
  }

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

  .section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contact-band,
  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .site-header,
  .hero,
  .shop-section,
  .featured-section,
  .collections-section,
  .contact-band,
  .site-footer {
    padding-left: 4rem;
    padding-right: 4rem;
  }

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