/*
Theme Name: VG8
Theme URI: https://tryvg8.com
Author: VG8
Description: A premium WooCommerce storefront for VG8 men's wellness products.
Version: 1.3.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: vg8
*/

:root {
  --ever-ink: #101722;
  --ever-green: #0c3448;
  --ever-green-2: #07506d;
  --ever-gold: #b9cc32;
  --ever-gold-dark: #667317;
  --ever-cream: #eef3f5;
  --ever-white: #fbfdfe;
  --ever-muted: #596773;
  --ever-border: rgba(16, 23, 34, .14);
  --ever-radius: 22px;
  --ever-shadow: 0 20px 60px rgba(21, 32, 24, .12);
  --ever-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ever-ink);
  background: var(--ever-white);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--ever-green); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #dce950; outline-offset: 3px; }
.wrap { width: min(calc(100% - 40px), var(--ever-width)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.eyebrow { color: var(--ever-gold-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 .55em; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.2rem; }

.announcement { padding: 9px 20px; color: #fff; background: var(--ever-green); text-align: center; font-size: .82rem; letter-spacing: .04em; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--ever-border); background: rgba(255,254,250,.94); backdrop-filter: blur(14px); }
.header-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ever-green); text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--ever-gold); border-radius: 50%; color: var(--ever-gold); font-family: Georgia, serif; }
.brand-name { font-family: Georgia, serif; font-size: 1.42rem; letter-spacing: .13em; }
.main-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: 27px; list-style: none; }
.main-nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-contact { font-size: .9rem; font-weight: 700; text-decoration: none; }
.cart-link { padding: 10px 15px; border: 1px solid var(--ever-border); border-radius: 999px; text-decoration: none; }
.catalog-badge { padding: 7px 11px; border: 1px solid var(--ever-border); border-radius: 999px; color: var(--ever-green); background: #f0f4d0; font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; padding: 9px 12px; border: 1px solid var(--ever-border); border-radius: 999px; font-weight: 750; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: calc(100% + 12px); right: 0; width: min(82vw, 290px); padding: 16px; border: 1px solid var(--ever-border); border-radius: 16px; background: #fff; box-shadow: var(--ever-shadow); }
.mobile-nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mobile-nav a { display: block; padding: 10px 8px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.mobile-nav a:hover { background: var(--ever-cream); }

.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px !important;
  border: 1px solid var(--ever-green) !important; border-radius: 999px !important; color: #fff !important;
  background: var(--ever-green) !important; font-weight: 750 !important; text-decoration: none; transition: .2s ease;
}
.button:hover, .woocommerce a.button:hover { transform: translateY(-2px); background: var(--ever-green-2) !important; }
.button.secondary { color: var(--ever-green) !important; background: transparent !important; }

.hero { position: relative; overflow: hidden; min-height: 690px; display: grid; align-items: center; background: var(--ever-cream); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,24,.98) 0%, rgba(8,14,24,.91) 39%, rgba(8,14,24,.08) 72%); }
.hero-copy { position: relative; z-index: 2; max-width: 650px; padding-block: 110px; }
.hero-copy h1 { max-width: 620px; }
.hero-copy h1 { color: #fff; }
.hero-copy > p { max-width: 560px; color: rgba(255,255,255,.78); font-size: 1.14rem; }
.hero .eyebrow, .story-band .eyebrow { color: #dce950; }
.hero-status { margin-top: 24px !important; padding-left: 14px; border-left: 3px solid #dce950; font-size: .88rem !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-block: 34px; border-bottom: 1px solid var(--ever-border); }
.trust-item { display: flex; gap: 13px; align-items: start; }
.trust-icon { color: var(--ever-gold); font-size: 1.2rem; }
.trust-item strong { display: block; }
.trust-item span { color: var(--ever-muted); font-size: .9rem; }

.section { padding-block: 95px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head p { max-width: 530px; color: var(--ever-muted); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid var(--ever-border); border-radius: var(--ever-radius); background: #fff; box-shadow: 0 8px 36px rgba(21,32,24,.05); }
.product-card-media { overflow: hidden; aspect-ratio: 1/1; background: var(--ever-cream); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card-copy { padding: 28px; }
.product-meta { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.product-meta .price { color: var(--ever-green); font-weight: 800; }
.status-pill { padding: 5px 9px; border-radius: 999px; color: #14303c; background: #e8f0a6; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.product-card-copy p { color: var(--ever-muted); }
.section-action { margin-top: 30px; text-align: center; }
.text-link { color: var(--ever-green-2); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.soft-section { background: var(--ever-cream); }
.guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.guide-card { padding: 25px; border: 1px solid var(--ever-border); border-radius: 18px; background: rgba(255,255,255,.82); }
.guide-card > span { display: inline-grid; width: 38px; height: 38px; margin-bottom: 24px; place-items: center; border-radius: 50%; color: #fff; background: var(--ever-green); font-size: .78rem; font-weight: 850; }
.guide-card h3 { font-size: 1.25rem; }
.guide-card p { margin-bottom: 0; color: var(--ever-muted); font-size: .94rem; }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--ever-border); border-radius: var(--ever-radius); background: #fff; box-shadow: 0 8px 36px rgba(21,32,24,.05); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 20px 22px; border-bottom: 1px solid var(--ever-border); text-align: left; vertical-align: middle; }
.comparison-table thead th { color: #fff; background: var(--ever-green); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table tbody th { color: var(--ever-green); }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: 0; }

.story-band { color: #fff; background: var(--ever-green); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px,8vw,110px); align-items: center; }
.story-band p { color: rgba(255,255,255,.78); }
.button.light { border-color: #fff !important; color: var(--ever-green) !important; background: #fff !important; }
.principles { display: grid; gap: 16px; }
.principle { padding: 21px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.05); }
.principle strong { display: block; margin-bottom: 4px; color: #fff; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq details { padding: 20px 0; border-top: 1px solid var(--ever-border); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { padding-top: 14px; color: var(--ever-muted); }
.safety-section { background: #f8faf4; }
.safety-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px,8vw,100px); }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ever-gold-dark); font-weight: 900; }
.final-cta { padding-block: 72px; border-top: 1px solid var(--ever-border); background: var(--ever-cream); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.final-cta-inner > div:first-child { max-width: 720px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--ever-gold); background: #fbf6e9; color: #564b34; }

.content-shell { width: min(calc(100% - 40px), 900px); margin-inline: auto; padding-block: 80px; }
.content-shell h1 { font-size: clamp(2.5rem,5vw,4.5rem); }
.content-shell h2 { margin-top: 1.25em; font-size: clamp(1.55rem,3vw,2.35rem); }
.content-shell li { margin: .5em 0; }
.content-shell .lead { max-width: 800px; color: var(--ever-muted); font-size: 1.2rem; }
.content-shell .notice { margin-block: 24px 34px; }
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 22px; overflow: hidden; border: 1px solid var(--ever-border); border-radius: 18px; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-left: 20px; margin-right: 20px; }
.woocommerce div.product { padding-block: 80px; }
.woocommerce-shell { padding-bottom: 80px; }
.shop-intro { padding-block: 72px 42px; background: var(--ever-cream); }
.shop-intro h1 { max-width: 800px; font-size: clamp(2.6rem,5vw,4.6rem); }
.shop-intro p { max-width: 760px; color: var(--ever-muted); font-size: 1.08rem; }
.shop-intro .notice { max-width: 760px; margin-top: 24px; }
.vg8-preview-banner { display: grid; gap: 4px; width: 100%; margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--ever-gold-dark); border-radius: 0 12px 12px 0; background: #f1f5d8; }
.vg8-preview-banner span { color: var(--ever-muted); font-size: .92rem; }
.vg8-product-status { margin-top: 30px; padding: 22px; border: 1px solid var(--ever-border); border-radius: 16px; background: var(--ever-cream); }
.vg8-product-status h2 { font-size: 1.55rem; }
.vg8-seller-name { display: inline-block; width: auto; max-width: 180px; height: auto; vertical-align: middle; }
.footer-seller { display: grid; gap: 8px; margin-top: 22px; color: rgba(255,255,255,.76); }
.footer-seller > span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-seller small { line-height: 1.55; }
.vg8-contact-form { max-width: 720px; }
.vg8-contact-form label { display: grid; gap: 8px; color: var(--ever-green); font-weight: 700; }
.vg8-contact-form label span { color: var(--ever-muted); font-size: .9em; font-weight: 400; }
.vg8-contact-form input, .vg8-contact-form select, .vg8-contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--ever-border); border-radius: 10px; background: #fff; color: var(--ever-ink); font: inherit; }
.vg8-contact-form input:focus, .vg8-contact-form select:focus, .vg8-contact-form textarea:focus { outline: 3px solid rgba(193,151,74,.22); border-color: var(--ever-gold); }
.vg8-contact-form .cf-turnstile { min-height: 65px; margin: 22px 0 8px; }
.vg8-turnstile-notice { max-width: 600px; color: var(--ever-muted); line-height: 1.5; }
.vg8-turnstile-notice a { color: inherit; }
.vg8-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 70px 0 26px; color: #dfe7e1; background: #071d29; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: inherit; text-decoration: none; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-bottom { margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.6); font-size: .78rem; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .header-contact { display: none; }
  .hero { min-height: 620px; }
  .hero::after { background: linear-gradient(90deg,rgba(8,14,24,.97),rgba(8,14,24,.72)); }
  .hero-media img { object-position: 66% center; opacity: .45; }
  .trust-row, .product-grid, .story-grid, .faq, .footer-grid, .safety-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { display: grid; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .wrap { width: min(calc(100% - 28px), var(--ever-width)); }
  .brand-name { font-size: 1.1rem; }
  .announcement { padding-inline: 14px; font-size: .74rem; }
  .header-row { min-height: 68px; gap: 12px; }
  .catalog-badge { display: none; }
  .hero { min-height: 610px; }
  .hero-copy { padding-block: 75px; }
  .section { padding-block: 68px; }
  .section-head { display: block; }
  .guide-grid { grid-template-columns: 1fr; }
  .comparison-wrap::after { content: "Swipe to compare →"; display: block; padding: 10px 16px; color: var(--ever-muted); font-size: .78rem; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
