/* === Eli London — Fresh Unified Styles === */

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050506;
  --bg-alt: #0b0b10;
  --bg-soft: #111118;
  --text: #f5f5f7;
  --muted: #9a9aa5;
  --accent: #ffffff;
  --border-subtle: rgba(255,255,255,0.08);
  --shadow-soft: 0 26px 80px rgba(0,0,0,0.75);
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-pill: 999px;
}

/* Slightly lighter, fresher background */
body {
  background: radial-gradient(circle at top, #14141f 0%, #06060a 60%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Header & Nav (freshened, same on all pages) === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, #090912 0%, #050507 70%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.brand-tagline {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
  opacity: 0.86;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #ffffff;
  transition: width 0.18s ease-out;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.is-active {
  opacity: 1;
}

.nav-links a.is-active::after {
  width: 100%;
}

.cart-icon-header {
  font-size: 1.1rem;
  margin-left: 18px;
  opacity: 0.9;
  cursor: pointer;
}

.cart-icon-header:hover {
  opacity: 1;
}

/* === Buttons === */

.btn-primary,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #050506;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

/* === Footer === */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* === Hero & Sections (shared, fresher spacing) === */

.hero,
.shop-hero,
.contact-hero,
.section {
  padding: 80px 0 60px;
}

.hero-title,
.shop-title,
.contact-title {
  font-size: 2.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-subtitle,
.shop-subtitle,
.contact-subtitle {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-title {
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 32px;
}

/* Unified paragraph look */
p,
.about-copy p,
.contact-info p,
.product-subline {
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: #e6e6ee;
}

/* === Shop Page === */

.shop-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.product-grid-section {
  padding: 10px 0 70px;
}

.product-grid {
  display: grid;
  gap: 30px;
}

/* Fresher product card */
.product-card {
  background: radial-gradient(circle at top left, #1d1d27 0%, #0b0b12 65%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 34px 90px rgba(0,0,0,0.55);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 110px rgba(0,0,0,0.65);
}

.product-media {
  position: relative;
  padding: 12px;
  pointer-events: none;
}

/* Fresher media frame */
.product-media-inner {
  border-radius: 26px;
  background: linear-gradient(165deg, #181823, #0a0a10);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.06);
}

.product-tag {
  position: absolute;
  top: 18px;
  left: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.product-image {
  margin: 0 auto;
  max-width: 180px;
  pointer-events: none;
}

.product-copy-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Fresher title */
.product-title {
  font-size: 1.42rem;
  margin-bottom: 6px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.product-subline {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.price-pill {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 9px 14px;
  color: var(--muted);
  pointer-events: none;
}

/* allow Shopify Buy button click */
.button-row > div {
  pointer-events: auto;
}

/* Quickview modal */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.quickview-overlay.is-open {
  display: flex;
}

.quickview-modal {
  background: #050506;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 22px;
  max-width: 760px;
  width: 100%;
  padding: 26px 26px 22px;
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.8);
  position: relative;
}

.quickview-modal.is-active {
  display: grid;
}

.quickview-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.quickview-image-wrap {
  border-radius: 20px;
  background: radial-gradient(circle at top, #15151f, #050506);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-image {
  max-width: 220px;
}

.quickview-tag,
.quickview-title,
.quickview-subline,
.quickview-meta,
.quickview-price {
  pointer-events: none;
}

.quickview-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* === About Page === */

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}

.about-copy p {
  margin-bottom: 14px;
}

.about-card {
  background: radial-gradient(circle at top, #262635, #0c0c12);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 70px rgba(0,0,0,0.65);
}

.about-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.18em;
}

.about-card-metric {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card-meta {
  font-size: 0.9rem;
  color: #c8c8d4;
}

/* === Contact Page === */

.contact-section {
  padding: 40px 0 80px;
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
}

/* Fresher contact text */
.contact-info p {
  color: #e3e3ed;
}

.contact-details {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.contact-details h4 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-details p {
  margin: 0;
}

/* Fresher form panel */
.contact-form {
  background: linear-gradient(165deg, #101019, #09090d);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Fresher inputs */
.form-input,
.form-textarea {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 12px;
  color: #ffffff;
  font: inherit;
  font-size: 0.96rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* === Cart Page === */

#eli-cart {
  margin-top: 16px;
}

/* === Scroll Reveal === */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */

@media (max-width: 880px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media-inner {
    text-align: center;
  }

  .product-image {
    max-width: 210px;
  }

  .quickview-modal {
    grid-template-columns: 1fr;
  }

  .quickview-image-wrap {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .hero,
  .shop-hero,
  .contact-hero,
  .section {
    padding: 50px 0 36px;
  }

  .hero-title,
  .shop-title,
  .contact-title {
    font-size: 2.4rem;
    letter-spacing: 0.18em;
  }

  .hero-subtitle,
  .shop-subtitle,
  .contact-subtitle {
    font-size: 0.95rem;
  }

  .product-grid-section {
    padding: 10px 0 50px;
  }

  .product-grid {
    gap: 22px;
  }

  .product-card {
    padding: 26px;
  }

  .button-row {
    gap: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-section {
    padding: 32px 0 60px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }
}
