/*
Theme Name: Purenio Wellness
Theme URI: https://purenio.com
Author: Purenio
Description: A clean, conversion-focused storefront theme for the Purenio supplement collection.
Version: 1.3.0
Text Domain: purenio
*/

:root {
  --ink: #16352c;
  --forest: #1f5c47;
  --sage: #82a890;
  --mint: #e5efe8;
  --cream: #fbf8ef;
  --paper: #fffef9;
  --gold: #caa55f;
  --muted: #66736d;
  --line: rgba(22, 53, 44, .12);
  --shadow: 0 18px 55px rgba(22, 53, 44, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, .92);
  backdrop-filter: blur(16px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 210px; max-height: 54px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--forest); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 92, 71, .22); }
.btn-light { background: transparent; color: var(--forest); }

.hero { overflow: hidden; background: radial-gradient(circle at 80% 20%, #dfece3 0, transparent 34%), var(--cream); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 36px; padding: 68px 0; }
.eyebrow { margin: 0 0 18px; color: var(--forest); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(48px, 7vw, 80px); font-weight: 500; letter-spacing: -.045em; }
.lead { max-width: 620px; margin: 0 0 30px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 34px; color: var(--forest); font-size: 13px; font-weight: 800; }
.trust-row span::before { content: "✓"; margin-right: 8px; color: var(--gold); }
.product-stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.product-stage::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: #dbe9df; }
.product-stage img { position: relative; z-index: 2; max-height: 540px; filter: drop-shadow(0 30px 28px rgba(22, 53, 44, .18)); }
.made-badge { position: absolute; right: 4%; bottom: 11%; z-index: 3; width: 118px; height: 118px; display: grid; place-items: center; padding: 18px; border-radius: 50%; background: var(--ink); color: #fff; text-align: center; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow); }

.section { padding: 92px 0; }
.section-soft { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section h2 { margin-bottom: 16px; font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -.035em; }
.section-copy { color: var(--muted); font-size: 17px; }

.featured { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; padding: 52px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.featured-image { display: grid; place-items: center; min-height: 410px; border-radius: 24px; background: var(--mint); }
.featured-image img { max-height: 420px; }
.kicker { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.featured h3 { margin: 10px 0 16px; font-size: 45px; font-weight: 500; }
.pill { display: inline-block; margin: 6px 8px 6px 0; padding: 7px 12px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 12px; font-weight: 800; }
.product-note { color: var(--muted); font-size: 14px; }

.visual-story { padding-top: 24px; }
.story-heading { max-width: 800px; }
.photo-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 22px; }
.photo-card { position: relative; min-height: 470px; margin: 0; overflow: hidden; border-radius: 28px; background: var(--mint); box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.photo-card figcaption { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.36); border-radius: 16px; background: rgba(22,53,44,.78); backdrop-filter: blur(12px); color: #fff; font-family: Georgia, serif; font-size: 18px; }

.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; min-height: 520px; padding: 18px 22px 78px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-product-image { width: calc(100% + 44px); max-width: none; height: 270px; margin: -18px -22px 22px; object-fit: cover; object-position: center; border-bottom: 1px solid var(--line); background: var(--cream); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; background: var(--mint); color: var(--forest); font-size: 22px; }
.card h3 { margin-bottom: 10px; font-size: 25px; font-weight: 500; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-meta { position: absolute; right: 26px; bottom: 22px; left: 26px; display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: var(--forest); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 34px; border-radius: var(--radius); background: var(--mint); }
.value strong { display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 25px; }
.value p { margin: 0; color: var(--muted); }

.cta { padding: 64px; border-radius: 32px; background: var(--ink); color: #fff; text-align: center; }
.cta h2 { max-width: 760px; margin-right: auto; margin-left: auto; }
.cta p { max-width: 630px; margin: 0 auto 26px; color: rgba(255,255,255,.72); }
.cta .btn { border-color: var(--gold); background: var(--gold); color: var(--ink); }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; }
.footer-logo { width: 180px; }
.footer-links { display: flex; gap: 18px; font-size: 13px; font-weight: 800; }
.fine-print { color: var(--muted); font-size: 12px; }
.origin-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.page-hero, .detail-hero { background: radial-gradient(circle at 82% 16%, #dfece3 0, transparent 34%), var(--cream); }
.page-hero { padding: 100px 0 86px; text-align: center; }
.page-hero .narrow { max-width: 850px; }
.page-hero h1, .detail-hero h1 { margin-bottom: 22px; font-size: clamp(48px, 7vw, 78px); font-weight: 500; letter-spacing: -.045em; }
.page-hero .lead { margin-right: auto; margin-left: auto; }
.detail-grid { min-height: 630px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 50px; padding: 72px 0; }
.detail-product { display: grid; place-items: center; min-height: 470px; border-radius: 32px; background: var(--mint); }
.detail-product img { max-height: 510px; filter: drop-shadow(0 26px 28px rgba(22,53,44,.16)); }
.reading-shell { max-width: 980px; }
.info-grid { display: grid; gap: 18px; }
.info-card { display: grid; grid-template-columns: 72px 220px 1fr; gap: 24px; align-items: start; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card.safety { background: #f8f3e7; }
.info-card .step, .contact-card .step { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.info-card h2, .evidence-box h2, .contact-card h2 { margin: 0; font-size: 30px; font-weight: 500; }
.info-card p { margin: 0; color: var(--muted); }
.evidence-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; margin-top: 34px; padding: 40px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.evidence-box p { color: rgba(255,255,255,.7); }
.source-links { display: grid; gap: 10px; }
.source-links a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 800; }
.preview-note { margin-top: 24px; padding: 22px 24px; border-left: 4px solid var(--gold); background: var(--cream); color: var(--muted); font-size: 14px; }
.next-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; min-height: 280px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; background: var(--cream); }
.guide-card h2 { margin: 0 0 10px; font-size: 29px; }
.guide-card p { color: var(--muted); font-size: 14px; }
.guide-card .eyebrow { margin-bottom: 8px; font-size: 10px; }
.text-link { color: var(--forest); font-size: 13px; font-weight: 900; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.contact-card h2 { margin: 12px 0; font-size: 38px; }
.contact-card p { margin-bottom: 26px; color: var(--muted); }
.contact-wide { grid-column: 1 / -1; background: var(--mint); }

@media (max-width: 960px) {
  .hero-grid, .featured, .detail-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-right: auto; margin-left: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .product-stage { min-height: 440px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card img { min-height: 400px; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .nav { min-height: 68px; flex-wrap: wrap; padding: 11px 0; gap: 8px 16px; }
  .brand-logo { width: 150px; max-height: 42px; }
  .nav-links { width: 100%; order: 2; justify-content: space-between; gap: 10px; overflow-x: auto; font-size: 12px; }
  .nav-links a { white-space: nowrap; }
  .nav-links a:first-child { display: none; }
  .nav-links .btn { min-height: 36px; padding: 0 14px; font-size: 11px; }
  .hero-grid { min-height: auto; padding: 50px 0; }
  .product-stage { min-height: 350px; }
  .product-stage::before { width: 300px; height: 300px; }
  .product-stage img { max-height: 365px; }
  .made-badge { width: 94px; height: 94px; font-size: 9px; }
  .section { padding: 66px 0; }
  .featured { padding: 24px; }
  .featured h3 { font-size: 36px; }
  .catalog, .values, .footer-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card img { min-height: 290px; }
  .photo-card figcaption { right: 14px; bottom: 14px; left: 14px; font-size: 16px; }
  .cta { padding: 46px 24px; }
  .page-hero { padding: 68px 0 56px; }
  .detail-grid { min-height: auto; padding: 56px 0; }
  .detail-copy { text-align: center; }
  .detail-product { min-height: 340px; }
  .detail-product img { max-height: 360px; }
  .info-card { grid-template-columns: 1fr; gap: 10px; padding: 26px; }
  .evidence-box { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .guide-card { grid-template-columns: 118px 1fr; min-height: 220px; padding: 14px; }
  .guide-card img { height: 190px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-wide { grid-column: auto; }
  .contact-card { padding: 28px; }
}
