:root {
  --black: #111111;
  --soft-black: #1c1a17;
  --cream: #f6f0e8;
  --white: #ffffff;
  --gold: #c7a96b;
  --gold-soft: #eadfc8;
  --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 {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 999;
  top: 16px;
  left: 16px;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

/* GENERAL */

.back-link {
  width: min(100% - 32px, var(--max-width));
  margin: 38px auto 0;
  display: block;
  color: var(--muted);
  font-weight: 800;
}

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

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

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

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

.btn-light {
  background: var(--white);
  border: 1px solid var(--border);
}

/* PRODUCT */

.product-layout {
  width: min(100% - 32px, var(--max-width));
  margin: 36px auto 96px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 18px;
}

.main-product-image {
  min-height: 680px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(199,169,107,0.32), transparent 36%),
    linear-gradient(145deg, #eadbc2, #8a765f);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.main-product-image figcaption {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.78);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.76rem;
  font-weight: 900;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.premium-product-shape {
  position: absolute;
  width: 360px;
  height: 470px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -47%);
  border-radius: 42% 42% 24px 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(225,211,185,0.96));
  box-shadow: 0 24px 70px rgba(17,17,17,0.22);
}

.premium-product-shape::after {
  content: "AURA";
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: rgba(17,17,17,0.16);
}

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

.thumbnail-grid article {
  min-height: 150px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(199,169,107,0.22), transparent 38%),
    linear-gradient(145deg, #f3eadc, #b49b78);
  box-shadow: 0 14px 32px rgba(17,17,17,0.08);
}

.product-summary {
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: 0 16px 45px rgba(17,17,17,0.08);
  position: sticky;
  top: 132px;
}

.product-summary h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
}

.product-description {
  color: var(--muted);
  font-size: 1.05rem;
}

.rating {
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating span {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.rating p {
  color: var(--muted);
  font-weight: 700;
}

.product-price {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 26px;
}

.product-options h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.option-list button {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.option-list button.active {
  background: var(--black);
  color: var(--white);
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.product-actions .btn {
  border: none;
  text-align: center;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list article {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.trust-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* HOW TO BUY */

.how-to-buy,
.product-details {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 96px;
}

.how-to-buy {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
}

.how-to-buy header,
.product-details header {
  max-width: 740px;
  margin-bottom: 34px;
}

.how-to-buy h2,
.product-details h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.how-to-buy header p {
  color: rgba(255,255,255,0.68);
  margin-top: 14px;
}

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

.steps-grid article {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px;
}

.steps-grid span {
  color: var(--gold);
  font-weight: 900;
}

.steps-grid h3,
.details-grid h3 {
  margin: 12px 0 8px;
}

.steps-grid p {
  color: rgba(255,255,255,0.68);
}

.details-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 45px rgba(17,17,17,0.08);
}

.details-grid p {
  color: var(--muted);
}

/* 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;
}

/* FOOTER */

.product-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) {
  .product-layout,
  .steps-grid,
  .details-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .product-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .main-product-image {
    min-height: 480px;
  }

  .premium-product-shape {
    width: 260px;
    height: 360px;
  }

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

  .how-to-buy {
    padding: 34px 24px;
  }
}
