/** Shopify CDN: Minification failed

Line 57:0 All "@import" rules must come first

**/
/* ==========================================================================
   Raw Earth Crystals — Design System
   Premium mineral gallery aesthetic. Alive, refined, editorial.
   ========================================================================== */

/* ---------- Color Tokens ---------- */
:root {
  --re-primary: #4A3048;
  --re-primary-light: #6B5069;
  --re-primary-dark: #362336;
  --re-accent: #C9A96E;
  --re-accent-hover: #B8963D;
  --re-accent-glow: rgba(201, 169, 110, 0.35);
  --re-bg: #FAF8F6;
  --re-bg-warm: #F5F1EC;
  --re-bg-off: #F0EDE8;
  --re-surface: #FFFFFF;
  --re-text: #2A2A2A;
  --re-text-secondary: #6B6B6B;
  --re-success: #5C7A5C;
  --re-rarity-rare: #D4920B;
  --re-rarity-museum-start: #C9A96E;
  --re-rarity-museum-end: #E8D5A3;
  --re-border: #E8E4E0;
  --re-divider: var(--re-accent);

  --re-space-xs: 0.25rem;
  --re-space-sm: 0.5rem;
  --re-space-md: 1rem;
  --re-space-lg: 2rem;
  --re-space-xl: 3rem;
  --re-space-2xl: 5rem;

  --re-radius-sm: 4px;
  --re-radius-md: 8px;
  --re-radius-lg: 12px;

  --re-shadow-card: 0 2px 8px rgba(74, 48, 72, 0.08);
  --re-shadow-card-hover: 0 8px 24px rgba(74, 48, 72, 0.15);
  --re-shadow-gold: 0 0 0 3px var(--re-accent-glow), 0 4px 20px rgba(201, 169, 110, 0.2);

  --re-transition: 0.25s ease;
  --re-transition-slow: 0.45s ease;
}

/* ---------- Smooth Scroll ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Typography ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--re-text);
  background-color: var(--re-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.re-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--re-text);
  letter-spacing: -0.01em;
}

/* Display — hero headline */
.re-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--re-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.re-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Gold text utility */
.re-text-gold {
  color: var(--re-accent);
}

/* ---------- Text Selection ---------- */
::selection {
  background: var(--re-primary);
  color: #ffffff;
}

::-moz-selection {
  background: var(--re-primary);
  color: #ffffff;
}

/* ---------- Link Styles ---------- */
a {
  transition: color var(--re-transition);
}

.re-link {
  color: var(--re-text);
  text-decoration: none;
  background-image: linear-gradient(var(--re-accent), var(--re-accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size var(--re-transition), color var(--re-transition);
  padding-bottom: 1px;
}

.re-link:hover {
  color: var(--re-accent);
  background-size: 100% 1px;
}

/* ---------- Background Texture ---------- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
}

/* ---------- Gold Dividers ---------- */
.re-divider {
  border: none;
  height: 1px;
  background: var(--re-divider);
  opacity: 0.3;
  margin: var(--re-space-xl) 0;
}

/* ---------- Decorative: Gold Line (fades in from sides) ---------- */
.re-gold-line {
  position: relative;
  height: 1px;
  background: transparent;
  margin: var(--re-space-lg) auto;
  max-width: 400px;
  overflow: visible;
}

.re-gold-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--re-accent) 30%,
    var(--re-accent) 70%,
    transparent 100%
  );
  opacity: 0;
  animation: re-goldLineReveal 1s ease forwards;
}

@keyframes re-goldLineReveal {
  from { opacity: 0; transform: scaleX(0.3); }
  to   { opacity: 0.6; transform: scaleX(1); }
}

/* ---------- Decorative: Sparkle ---------- */
.re-sparkle {
  position: relative;
  display: inline-block;
}

.re-sparkle::before,
.re-sparkle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--re-accent);
  animation: re-sparklePulse 2.4s ease-in-out infinite;
}

.re-sparkle::before {
  width: 4px;
  height: 4px;
  top: -6px;
  right: -8px;
  opacity: 0.8;
}

.re-sparkle::after {
  width: 3px;
  height: 3px;
  bottom: -4px;
  left: -6px;
  opacity: 0.5;
  animation-delay: 1.2s;
}

@keyframes re-sparklePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.6); opacity: 0.2; }
}

/* ---------- Decorative: Section Label ---------- */
.re-section-label {
  display: flex;
  align-items: center;
  gap: var(--re-space-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--re-accent);
  margin-bottom: var(--re-space-md);
}

.re-section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--re-accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

/* Shared base */
.re-btn-primary,
.re-btn-secondary,
.re-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--re-radius-sm);
  cursor: pointer;
  border: none;
  transition:
    background var(--re-transition),
    color var(--re-transition),
    box-shadow var(--re-transition),
    transform var(--re-transition);
}

/* Gold filled */
.re-btn-primary {
  padding: 0.875rem 2rem;
  background: var(--re-accent);
  color: #ffffff;
}

.re-btn-primary:hover {
  background: var(--re-accent-hover);
  box-shadow: var(--re-shadow-gold);
  transform: translateY(-2px);
}

.re-btn-primary:active {
  transform: translateY(0);
}

/* Gold outlined */
.re-btn-secondary {
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--re-accent);
  border: 1.5px solid var(--re-accent);
}

.re-btn-secondary:hover {
  background: var(--re-accent);
  color: #ffffff;
  box-shadow: var(--re-shadow-gold);
  transform: translateY(-2px);
}

.re-btn-secondary:active {
  transform: translateY(0);
}

/* Deep purple dark variant */
.re-btn-dark {
  padding: 0.875rem 2rem;
  background: var(--re-primary);
  color: #ffffff;
}

.re-btn-dark:hover {
  background: var(--re-primary-dark);
  box-shadow: 0 0 0 3px rgba(74, 48, 72, 0.25), 0 4px 20px rgba(74, 48, 72, 0.2);
  transform: translateY(-2px);
}

.re-btn-dark:active {
  transform: translateY(0);
}

/* Size variants */
.re-btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.re-btn-lg {
  padding: 1.125rem 2.75rem;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

/* ---------- Layout ---------- */
.re-page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--re-space-md);
}

.re-section {
  padding: var(--re-space-2xl) 0;
}

/* Alternating section backgrounds for visual rhythm */
.re-section--white {
  background: var(--re-surface);
}

.re-section--warm {
  background: var(--re-bg-warm);
}

.re-section--off {
  background: var(--re-bg-off);
}

/* Subtle section rhythm — auto-alternate when stacked */
.re-section-stack > .re-section:nth-child(odd)  { background: var(--re-surface); }
.re-section-stack > .re-section:nth-child(even) { background: var(--re-bg-warm); }

/* ---------- Animation Keyframes ---------- */
@keyframes re-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes re-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes re-slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation utility classes
   Default: paused. JS should add .re-is-visible to play.
   Or use IntersectionObserver to add the class when element enters viewport. */
.re-animate-fadeUp,
.re-animate-fadeIn,
.re-animate-slideInLeft {
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-play-state: paused;
}

.re-animate-fadeUp.re-is-visible {
  animation-name: re-fadeUp;
  animation-play-state: running;
}

.re-animate-fadeIn.re-is-visible {
  animation-name: re-fadeIn;
  animation-play-state: running;
}

.re-animate-slideInLeft.re-is-visible {
  animation-name: re-slideInLeft;
  animation-play-state: running;
}

/* Delay utilities for staggered reveals */
.re-delay-1 { animation-delay: 0.1s; }
.re-delay-2 { animation-delay: 0.2s; }
.re-delay-3 { animation-delay: 0.3s; }
.re-delay-4 { animation-delay: 0.45s; }
.re-delay-5 { animation-delay: 0.6s; }

/* ---------- Breadcrumbs ---------- */
.re-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--re-text-secondary);
  margin-bottom: var(--re-space-md);
}

.re-breadcrumb a {
  color: var(--re-text-secondary);
  text-decoration: none;
  transition: color var(--re-transition);
}

.re-breadcrumb a:hover {
  color: var(--re-accent);
}

.re-breadcrumb__sep {
  color: var(--re-accent);
  opacity: 0.6;
  font-size: 0.6875rem;
  user-select: none;
  margin: 0 0.125rem;
}

.re-breadcrumb__current {
  color: var(--re-text);
  font-weight: 500;
}

/* ---------- Responsive Typography ---------- */
@media (max-width: 768px) {
  .re-display { font-size: 2.75rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  .re-section { padding: var(--re-space-xl) 0; }
}

@media (max-width: 480px) {
  .re-display { font-size: 2.25rem; }
}
