:root {
  --black: #111111;
  --soft-black: #1c1a17;
  --cream: #f6f0e8;
  --white: #ffffff;
  --gold: #c7a96b;
  --muted-gold: #e4d5b7;
  --text: #29241f;
  --muted: #7c7268;
  --border: rgba(17, 17, 17, 0.12);

  --max-width: 1180px;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ACCESSIBILITY */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* HERO */

.hero-store {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-copy {
  padding: 72px max(32px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  border: 1px solid var(--border);
  color: var(--black);
}

.hero-image {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.18)),
    radial-gradient(circle at 50% 40%, rgba(199, 169, 107, 0.28), transparent 34%),
    linear-gradient(135deg, #d9c7ad, #7d6b58);
  overflow: hidden;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  border-radius: 48% 48% 18% 18%;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(226,213,190,0.92));
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "AURA";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(17, 17, 17, 0.14);
}

.floating-card {
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 240px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.floating-card strong {
  display: block;
  font-size: 1.3rem;
}

/* GENERAL */

.section {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
  padding: 96px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2,
.story-copy h2,
.newsletter h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-header p {
  color: var(--muted);
  margin-top: 14px;
}

/* COLLECTIONS */

.collection-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 22px;
}

.collection-card {
  min-height: 320px;
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(rgba(17,17,17,0.18), rgba(17,17,17,0.42)),
    linear-gradient(135deg, #cdbb9d, #6f6254);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.collection-card.large {
  min-height: 420px;
}

.collection-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.collection-card p {
  color: rgba(255,255,255,0.78);
}

.collection-card a {
  margin-top: 18px;
  font-weight: 800;
  color: var(--muted-gold);
}

/* PRODUCTS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 45px rgba(17,17,17,0.08);
  transition: 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card.featured {
  transform: translateY(-18px);
}

.product-image {
  min-height: 360px;
  background:
    radial-gradient(circle at center, rgba(199,169,107,0.25), transparent 36%),
    linear-gradient(145deg, #f3eadc, #b49b78);
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  border-radius: 42% 42% 18px 18px;
  background: linear-gradient(145deg, #fff, #dfd0b6);
  box-shadow: 0 20px 50px rgba(17,17,17,0.14);
}

figcaption {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-info {
  padding: 24px;
}

.product-category {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-info h3 {
  font-size: 1.4rem;
  margin: 6px 0;
}

.product-price {
  color: var(--muted);
  margin-bottom: 18px;
}

.product-info button {
  width: 100%;
  border: none;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
}

/* MINI CART */

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.42);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

.cart-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--white);
  z-index: 90;
  transform: translateX(100%);
  transition: 0.3s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -20px 0 60px rgba(17,17,17,0.18);
}

.mini-cart.active {
  transform: translateX(0);
}

.mini-cart-header,
.mini-cart-footer {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.mini-cart-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-cart-header button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.6rem;
}

.cart-items {
  padding: 24px;
  overflow-y: auto;
}

.cart-empty {
  color: var(--muted);
}

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

.cart-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f3eadc, #b49b78);
}

.cart-item h3 {
  font-size: 0.95rem;
}

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

.cart-item button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.checkout-btn {
  width: 100%;
  border: none;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 15px;
  font-weight: 900;
}

/* TRUST */

.trust-section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-section p {
  color: rgba(255,255,255,0.64);
  margin-top: 4px;
}

/* STORY */

.brand-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.story-image {
  min-height: 560px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(17,17,17,0.08), rgba(17,17,17,0.2)),
    linear-gradient(145deg, #9b8464, #e7d9c3);
  box-shadow: var(--shadow);
}

.story-copy p {
  color: var(--muted);
  margin: 22px 0;
  font-size: 1.08rem;
}

.text-link {
  color: var(--black);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

/* REVIEWS */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.review-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* NEWSLETTER */

.newsletter {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 96px;
  border-radius: var(--radius);
  padding: 56px;
  background: var(--soft-black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.newsletter label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 999px;
  padding: 15px 18px;
  outline: none;
}

.newsletter button {
  border: none;
  background: var(--gold);
  color: var(--black);
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 900;
}

/* FOOTER */

.store-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 56px;
}

.footer-container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;

  gap: 42px;

  padding-bottom: 42px;
}

.footer-brand p,
.footer-section a {
  color: rgba(255,255,255,0.68);
}

.footer-section {
  display: grid;
  gap: 8px;
}

.footer-section h3 {
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);

  text-align: center;

  padding: 22px;

  color: rgba(255,255,255,0.64);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-store,
  .brand-story,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .product-grid,
  .review-grid,
  .trust-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-store {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 24px 64px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 0.96;
  }

  .hero-buttons {
    margin-top: 28px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image {
    min-height: 420px;
  }

  .collection-grid,
  .product-grid,
  .review-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .store-footer {
    padding: 34px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
