/* ==========================================================================
   Pure Minerals — static site stylesheet
   Design tokens extracted from getpureminerals.com (Elementor build)
   ========================================================================== */

:root {
  --color-primary: #175AA1;   /* dark blue */
  --color-secondary: #1277EE; /* bright blue */
  --color-text: #4B4B4B;
  --color-accent: #E95900;
  --color-bg-light: #F5F5F5;
  --color-white: #FFFFFF;
  --gradient-blue: linear-gradient(199deg, #1277EE 20%, #175AA1 100%);
  --font-main: 'Montserrat', sans-serif;
  --font-alt: 'Lato', sans-serif;
  --radius-btn: 30px;
  --container: 1140px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 20px; }
p { margin: 0 0 16px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--color-white);
  padding: 8px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 30px;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.btn--outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn--outline:hover { background: var(--color-white); color: var(--color-secondary); border-color: var(--color-white); }
.btn--sm { font-size: 13px; padding: 12px 24px; }

/* ---- Promo banner (hidden — remove `hidden` attribute and inline style to re-enable) ---- */
.promo-banner {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
}
.promo-banner p { margin: 0; }

/* ---- Header ---- */
.site-header {
  background: var(--color-white);
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo img { width: 180px; height: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-secondary); }

/* Mobile nav */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; }
.nav-toggle-label span {
  display: block; width: 24px; height: 3px; margin: 5px 0;
  background: var(--color-text); border-radius: 2px; transition: .2s;
}

/* ---- Hero (home) ---- */
.hero {
  background: #000 url('../img/hero-bg.webp') center / cover no-repeat;
  color: var(--color-white);
  text-align: center;
  padding: 150px 20px 340px;
}
.hero h1 {
  font-size: 75px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 24px;
}
.hero p { font-size: 20px; max-width: 560px; margin: 0 auto; }

/* ---- Section shells ---- */
.section { padding: 80px 0; }
.section-title {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}
.section-title--light { color: var(--color-white); }

/* ---- Product grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.product-card { display: flex; flex-direction: column; }
.product-card__img { border-radius: 4px; overflow: hidden; }
.product-card__img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-card h2, .product-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin: 18px 0 20px;
}
.product-card .price {
  font-size: 15px;
  color: var(--color-text);
  margin: -12px 0 20px;
}
.product-card .btn { align-self: flex-start; margin-top: auto; }
.view-all { text-align: center; margin-top: 40px; }

/* ---- Book / Amazon section ---- */
.book-section {
  background: var(--gradient-blue);
  color: var(--color-white);
  overflow: hidden;
}
.book-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.book-section h2 { font-size: 40px; font-weight: 600; color: var(--color-white); }
.book-section h3 { font-size: 20px; font-weight: 500; color: var(--color-white); }
.book-section ul { padding-left: 20px; margin: 0 0 30px; }
.book-section li { margin-bottom: 8px; }
.book-img--square { display: none; }

/* ---- Guarantee section ---- */
.guarantee {
  background: var(--color-bg-light);
  text-align: center;
}
.guarantee p { max-width: 760px; margin: 0 auto 16px; }
.guarantee-video {
  max-width: 490px;
  margin: 40px auto 0;
}
.guarantee-video video { width: 100%; border-radius: 4px; background: var(--color-white); }

/* ---- Join / newsletter section ---- */
.join { text-align: center; }
.join h2 { font-size: 40px; font-weight: 600; }
.join p { max-width: 640px; margin: 0 auto 30px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 100px 0;
}
.cta-band h2 {
  font-size: 75px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 40px;
}
.cta-band .btn { margin-right: 16px; margin-bottom: 12px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { width: 155px; margin-bottom: 24px; }
.footer-contact p { margin-bottom: 6px; font-weight: 700; }
.footer-contact a { color: var(--color-white); text-decoration: underline; }
.footer-contact a:hover { opacity: .85; color: var(--color-white); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav li { margin-bottom: 14px; }
.site-footer nav a { color: var(--color-white); font-weight: 700; font-size: 15px; }
.site-footer nav a:hover { opacity: .85; color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.6);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}
.footer-bottom a { color: var(--color-white); }
.footer-bottom a:hover { opacity: .85; }

/* ---- Disclaimer strip ---- */
.disclaimer {
  background: var(--color-white);
  text-align: center;
  font-size: 12px;
  padding: 30px 20px;
  color: var(--color-text);
}
.disclaimer p { max-width: 900px; margin: 0 auto; }

/* ---- Page hero (interior pages) ---- */
.page-title {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin: 60px 0 10px;
}
.page-content { padding-bottom: 80px; }
.page-content h2 { font-size: 28px; font-weight: 600; margin-top: 40px; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-list details {
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--color-secondary);
  font-size: 22px; font-weight: 600;
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list .faq-answer { padding: 0 0 18px; }

/* ---- Product page ---- */
.breadcrumb {
  font-size: 14px;
  margin: 30px 0 10px;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--color-text); }
.breadcrumb a { color: var(--color-secondary); }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 20px 0 60px;
  align-items: start;
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--color-secondary); }
.gallery-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; }
.product-info h1 { font-size: 40px; font-weight: 600; color: var(--color-text); }
.product-info .price {
  font-size: 28px;
  color: var(--color-text);
  margin: 24px 0 6px;
  display: block;
}
.shipping-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 24px;
}
.buy-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  margin-top: 10px;
}
.buy-buttons .btn {
  width: 100%;
  font-size: 13px;
  padding: 14px 10px;
  white-space: nowrap;
}
.btn--stripe { background: #635BFF; border-color: #635BFF; }
.btn--stripe:hover { background: #4B44D4; border-color: #4B44D4; }
.btn--ebay { background: var(--color-secondary); border-color: var(--color-secondary); }
.btn--intl { background: var(--color-primary); border-color: var(--color-primary); }
.btn--intl:hover { background: #114479; border-color: #114479; }
.product-tabs { margin: 40px 0 60px; }
.product-tabs h2 {
  font-size: 24px; font-weight: 600;
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 10px; margin-top: 40px;
}
.related h2 { text-align: center; }
.related .product-grid { grid-template-columns: repeat(3, 1fr); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero h1, .cta-band h2 { font-size: 54px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: 90px 20px 200px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-title, .page-title, .join h2, .book-section h2, .product-info h1 { font-size: 29px; }
  .cta-band h2 { font-size: 36px; }
  .product-grid, .related .product-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .book-section .container { grid-template-columns: 1fr; text-align: center; }
  .book-section ul { text-align: left; }
  .book-img--wide { display: none; }
  .book-img--square { display: block; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* mobile nav */
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 14px 24px; font-size: 15px; }
  .nav-toggle:checked ~ .site-nav { max-height: 320px; }
}
