/* ==========================================================================
   Space Chica — static holding site styles
   Matches the brand palette from the Next.js app.
   ========================================================================== */

:root {
  --cosmic:   #0b0b14;
  --rose:     #c9a29b;
  --pearl:    #f5f4f2;
  --midnight: #1b1d2c;
  --mist:     #e8ddd9;
  --divider:  #e0deDB;
  --max:      1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--pearl);
  color: var(--cosmic);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------- Header / Nav -------------------------------------------------- */

.site-header {
  background: var(--pearl);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7rem;
  gap: 1.5rem;
}

.nav__menu,
.nav__links {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav__menu { justify-content: flex-start; }
.nav__links { justify-content: flex-end; }

.nav__logo {
  display: block;
  transition: opacity .2s;
}
.nav__logo:hover { opacity: .8; }
.nav__logo img { height: 6rem; width: auto; }

.nav__link {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cosmic);
  transition: color .2s;
}
.nav__link:hover { color: var(--rose); }

.nav__menu-button {
  background: none;
  border: none;
  font-size: .875rem;
  color: var(--cosmic);
  cursor: pointer;
  padding: 0;
}

/* -------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 80vh;
  background: var(--midnight);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 25% 20%, rgba(201,162,155,.25), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(232,221,217,.12), transparent 50%),
    radial-gradient(circle  at 50% 50%, rgba(11,11,20,0) 0%, rgba(11,11,20,.6) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 30% 75%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,.7), transparent);
  opacity: .5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero__eyebrow {
  font-size: .75rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0;
}

.hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1;
  margin: 0;
  color: #fff;
}

.hero__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  max-width: 36rem;
  margin: 0;
}

.button {
  display: inline-block;
  background: #fff;
  color: var(--cosmic);
  padding: 1rem 2.5rem;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.button:hover { background: var(--rose); color: #fff; }

/* -------- Section layout for legal / content pages --------------------- */

.page {
  background: var(--pearl);
  min-height: 60vh;
  padding: 5rem 0;
}

.page__header {
  margin-bottom: 2.5rem;
}

.page__eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 .75rem;
}

.page__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0;
  color: var(--cosmic);
}

.page__intro {
  color: rgba(11,11,20,.7);
  margin: 1rem 0 0;
  max-width: 42rem;
}

.prose {
  max-width: 42rem;
  color: rgba(11,11,20,.8);
  line-height: 1.65;
}

.prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--cosmic);
  margin: 2.5rem 0 .75rem;
}

.prose p { margin: .75rem 0; }
.prose ul, .prose ol { margin: .75rem 0; padding-left: 1.5rem; }
.prose li { margin: .25rem 0; }
.prose a { color: var(--rose); text-decoration: underline; }
.prose a:hover { text-decoration: none; }
.prose em { color: rgba(11,11,20,.55); }
.prose strong { color: var(--cosmic); }

.page__disclaimer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider);
  font-size: .75rem;
  color: rgba(11,11,20,.5);
  max-width: 42rem;
}

/* -------- Product grid ------------------------------------------------- */

.products {
  background: var(--pearl);
  padding: 5rem 0;
}

.products__header {
  text-align: center;
  margin-bottom: 3rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 2.5rem 2rem;
}

.product {
  display: flex;
  flex-direction: column;
}

.product__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mist);
}

.product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product:hover .product__image img {
  transform: scale(1.03);
}

.product__brand {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(11,11,20,.55);
  margin: 0 0 .15rem;
}

.product__info {
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
}

.product__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cosmic);
  margin: 0 0 .35rem;
  line-height: 1.2;
}

.product__price {
  font-size: .875rem;
  color: var(--cosmic);
  margin: 0;
  letter-spacing: .02em;
}

.products__footnote {
  margin-top: 4rem;
  text-align: center;
  font-size: .8125rem;
  color: rgba(11,11,20,.5);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

/* -------- Footer -------------------------------------------------------- */

.site-footer {
  background: var(--midnight);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,162,155,.12), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(232,221,217,.08), transparent 40%);
  opacity: .4;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 5rem 0 3rem;
}
@media (min-width: 720px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer__brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 300;
  margin: 0;
  color: #fff;
  display: block;
  transition: color .2s;
}
.footer__brand-title:hover { color: var(--rose); }

.footer__brand-tagline {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rose);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}
@media (min-width: 720px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer__col-title {
  font-size: .8125rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 .75rem;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .8125rem;
}
.footer__list a {
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer__list a:hover { color: var(--rose); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 4rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}

/* -------- Contact form ------------------------------------------------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 1.5rem 0 0;
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.contact-form__label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(11,11,20,.6);
}

.contact-form__input,
.contact-form__textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--cosmic);
  background: #fff;
  border: 1px solid var(--divider);
  padding: .65rem .85rem;
  outline: none;
  transition: border-color .15s;
  border-radius: 0;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--rose);
}
.contact-form__textarea {
  min-height: 6rem;
  resize: vertical;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: .5rem;
  background: var(--cosmic);
  color: #fff;
  font-family: inherit;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-color .2s;
}
.contact-form__submit:hover { background: var(--rose); }
.contact-form__submit:disabled { opacity: .5; cursor: not-allowed; }

.contact-form__status {
  margin-top: .5rem;
  font-size: .8125rem;
  color: var(--rose);
  min-height: 1.2em;
}

/* -------- Cookie banner ------------------------------------------------- */

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: var(--cosmic);
  color: #fff;
  border-top: 1px solid rgba(201,162,155,.4);
  display: none;
}
.cookie-banner[data-visible="true"] { display: block; }

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0;
}
@media (min-width: 720px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner__body {
  font-size: .875rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0;
}
.cookie-banner__body a {
  text-decoration: underline;
  transition: color .2s;
}
.cookie-banner__body a:hover { color: var(--rose); }

.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: .625rem 1.25rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-family: inherit;
}
.cookie-banner__btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}
.cookie-banner__btn--accept {
  background: #fff;
  color: var(--cosmic);
  border-color: #fff;
}
.cookie-banner__btn--accept:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

/* -------- 404 ----------------------------------------------------------- */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.error-page__inner { max-width: 36rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.error-page__code { font-family: "Cormorant Garamond", Georgia, serif; font-size: 6rem; line-height: 1; color: var(--rose); margin: 0; }
.error-page__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 300; margin: 0; }
.error-page__body { color: rgba(11,11,20,.6); margin: 0; }
