/*
Theme Name: Lumetive
Theme URI: https://lumetive.com
Author: Lumetive Team
Author URI: https://lumetive.com
Description: Lumetive FSE Block Theme — Medical-grade red light therapy brand site
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumetive
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, one-column, wide-blocks

Lumetive WordPress Theme — Coral + Sage brand, built with Full Site Editing.
*/

/* =============================================
   HEADER
   ============================================= */

header.wp-block-group {
  z-index: 100;
  border-bottom: 1px solid var(--wp--preset--color--border-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 252, 248, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* =============================================
   NAVIGATION
   ============================================= */

.wp-block-navigation a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.wp-block-navigation a:hover {
  color: var(--wp--preset--color--primary);
}

/* "Get Quote" nav pill button */
.nav-cta .wp-block-navigation-item__content {
  background-color: var(--wp--preset--color--primary) !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
  transition: all 0.2s ease;
  display: inline-block;
}

.nav-cta .wp-block-navigation-item__content:hover {
  background-color: var(--wp--preset--color--primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

/* =============================================
   BUTTONS
   ============================================= */

.wp-block-button .wp-block-button__link {
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

/* CTA section outline button — white border on coral bg */
.cta-outline-btn .wp-block-button__link {
  border: 2px solid rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  background: transparent !important;
  font-weight: 600;
}

.cta-outline-btn .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none;
  transform: none;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-badge {
  display: inline-block;
  background: var(--wp--preset--color--secondary);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 span,
.hero-heading span {
  color: var(--wp--preset--color--primary);
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--wp--preset--color--border-light);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--wp--preset--color--text);
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 11px;
  color: var(--wp--preset--color--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SECTION LABELS
   ============================================= */

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--wp--preset--color--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

/* =============================================
   SCIENCE SECTION
   ============================================= */

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.science-visual {
  background: linear-gradient(135deg, #E07A5F 0%, #D4715A 100%);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 60px rgba(224, 122, 95, 0.2);
  color: white;
}

.science-visual h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.science-visual > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-size: 15px;
}

.wavelength-demo {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  justify-content: center;
}

.wave-item {
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  min-width: 130px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.wave-item strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--wp--preset--color--primary);
  margin-bottom: 4px;
}

.wave-item span {
  font-size: 13px;
  color: var(--wp--preset--color--text-secondary);
}

.science-highlight {
  background: var(--wp--preset--color--accent);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  color: #2C3E50;
  margin-top: 8px;
  font-size: 14px;
}

.science-steps {
  margin-top: 24px;
}

.science-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--wp--preset--color--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--wp--preset--color--text);
  margin-bottom: 4px;
}

.step-content p {
  color: var(--wp--preset--color--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   FEATURES SECTION
   ============================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--wp--preset--color--primary);
}

.feature-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--wp--preset--color--text);
}

.feature-card p {
  color: var(--wp--preset--color--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   PRODUCT CARDS (homepage + archive)
   ============================================= */

.product-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border-radius: 16px;
  background: white;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-card .wp-block-post-featured-image {
  height: 220px;
  background: linear-gradient(135deg, var(--wp--preset--color--bg-warm) 0%, var(--wp--preset--color--bg-primary) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.product-card .wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--text);
  font-size: 1.2rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.product-card .wp-block-post-title a:hover {
  color: var(--wp--preset--color--primary);
}

/* Product meta field styling */
.product-series-meta,
.product-series-meta p {
  font-size: 12px;
  font-weight: 600;
  color: var(--wp--preset--color--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
}

.product-specs-list {
  margin: 12px 0;
  border-top: 1px solid var(--wp--preset--color--bg-warm);
}

.product-specs-list .wp-block-post-meta,
.product-specs-list p {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 13px;
  color: var(--wp--preset--color--text-secondary);
  padding: 5px 0;
  border-bottom: 1px solid var(--wp--preset--color--bg-warm);
  margin: 0;
  display: block;
}

.product-price-meta,
.product-price-meta p {
  font-size: 22px;
  font-weight: 700;
  color: var(--wp--preset--color--primary);
  margin: 14px 0 10px;
}

.product-view-btn a,
.product-view-btn .wp-block-read-more {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--wp--preset--color--primary);
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.product-view-btn a:hover,
.product-view-btn .wp-block-read-more:hover {
  background: var(--wp--preset--color--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}

/* Product card link */
.product-card-link a {
  text-decoration: none;
  font-weight: 500;
}

.product-card-link a:hover {
  text-decoration: underline;
}

/* =============================================
   CERTIFICATIONS SECTION
   ============================================= */

.cert-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
  min-width: 130px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cert-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.cert-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--wp--preset--color--navy);
  margin-bottom: 4px;
  display: block;
}

.cert-label {
  font-size: 12px;
  color: var(--wp--preset--color--text-secondary);
  display: block;
}

/* =============================================
   OEM SECTION
   ============================================= */

.oem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.oem-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wp--preset--color--text);
  margin-bottom: 16px;
}

.oem-content > p {
  color: var(--wp--preset--color--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.oem-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.oem-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.oem-feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.oem-feature h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--wp--preset--color--text);
  margin-bottom: 4px;
}

.oem-feature p {
  font-size: 13px;
  color: var(--wp--preset--color--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.oem-visual {
  background: linear-gradient(135deg, #4A9079 0%, #3D7A64 100%);
  border-radius: 20px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(74, 144, 121, 0.2);
}

.oem-visual h3 {
  font-size: 26px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.oem-visual > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.oem-moq {
  background: var(--wp--preset--color--accent);
  color: #2C3E50;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 15px;
}

.oem-cta-btn {
  display: inline-block;
  background: white;
  color: var(--wp--preset--color--secondary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
}

.oem-cta-btn:hover {
  background: var(--wp--preset--color--bg-warm);
  transform: translateY(-1px);
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--wp--preset--color--bg-warm);
  padding: 32px 28px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 80px;
  color: var(--wp--preset--color--primary);
  opacity: 0.25;
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--wp--preset--color--text);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--wp--preset--color--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--wp--preset--color--text);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 13px;
  color: var(--wp--preset--color--text-secondary);
  margin: 0;
}

/* =============================================
   BLOG CARDS
   ============================================= */

.blog-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card-img-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--text);
  transition: color 0.2s ease;
  font-weight: 600;
}

.blog-card .wp-block-post-title a:hover {
  color: var(--wp--preset--color--primary);
}

.blog-card .wp-block-post-date {
  font-size: 12px;
  color: var(--wp--preset--color--text-secondary);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background-color: #2C3E50;
  color: white;
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-brand-name span {
  color: #E07A5F;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #D4A574;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #E07A5F;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-decoration: none;
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: white;
}

/* =============================================
   BACK LINK
   ============================================= */

.back-link a {
  text-decoration: none;
  color: var(--wp--preset--color--text-secondary);
  transition: color 0.2s ease;
  font-weight: 500;
}

.back-link a:hover {
  color: var(--wp--preset--color--primary);
}

/* =============================================
   PRODUCT DETAIL CONTENT
   ============================================= */

.product-content,
.post-content {
  line-height: 1.85;
  color: var(--wp--preset--color--text);
}

.product-content p,
.post-content p {
  margin-bottom: 1.25rem;
}

.product-content h2,
.post-content h2 {
  font-size: var(--wp--preset--font-size--h2);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--wp--preset--color--text);
}

.product-content h3,
.post-content h3 {
  font-size: var(--wp--preset--font-size--h3);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--wp--preset--color--text);
}

.product-content ul,
.product-content ol,
.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-content li,
.post-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.product-content strong,
.post-content strong {
  font-weight: 600;
}

/* =============================================
   PRODUCT HERO IMAGE
   ============================================= */

.product-hero-image img,
.post-hero-image img {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
}

/* =============================================
   PRODUCT TAGLINE
   ============================================= */

.product-tagline p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wp--preset--color--text-secondary);
  line-height: 1.7;
  border-left: 3px solid var(--wp--preset--color--secondary);
  padding-left: 16px;
  margin: 0;
}

/* Single product spec display */
.single-product-series {
  font-size: 12px;
  font-weight: 600;
  color: var(--wp--preset--color--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.single-product-specs {
  border-top: 1px solid var(--wp--preset--color--border-light);
  border-bottom: 1px solid var(--wp--preset--color--border-light);
  padding: 12px 0;
  margin: 16px 0;
}

.single-product-specs .wp-block-post-meta,
.single-product-specs p {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 14px;
  color: var(--wp--preset--color--text-secondary);
  padding: 5px 0;
  border-bottom: 1px solid var(--wp--preset--color--border-light);
  margin: 0;
  display: block;
}

.single-product-specs .wp-block-post-meta:last-child,
.single-product-specs p:last-child {
  border-bottom: none;
}

.single-product-price,
.single-product-price p {
  font-size: 28px;
  font-weight: 700;
  color: var(--wp--preset--color--primary);
  margin: 16px 0;
}

/* =============================================
   PAGINATION
   ============================================= */

.wp-block-query-pagination {
  margin-top: 48px;
}

.wp-block-query-pagination-next,
.wp-block-query-pagination-previous,
.wp-block-query-pagination .page-numbers {
  color: var(--wp--preset--color--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination .page-numbers:hover {
  background: var(--wp--preset--color--bg-shell);
  color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination .page-numbers.current {
  background: var(--wp--preset--color--primary);
  color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .science-grid,
  .oem-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .hero-heading {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 32px;
  }

  .science-grid,
  .oem-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .oem-features-grid {
    grid-template-columns: 1fr;
  }

  .wp-block-columns.is-layout-flex {
    flex-direction: column;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .wp-block-query .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 10px;
  }
}
