:root {
  --hp-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hp-green: #005137;
  --hp-green-2: #0d6b4b;
  --hp-orange: #ff5216;
  --hp-orange-2: #ff7a3d;
  --hp-navy: #112d4e;
  --hp-text: #1e293b;
  --hp-muted: #64748b;
  --hp-bg: #f8fafc;
  --hp-border: #e2e8f0;
  --hp-radius: 20px;
  --hp-shadow: 0 16px 40px rgba(15,23,42,.08);
  --hp-shadow-sm: 0 4px 12px rgba(15,23,42,.05);
}

body,
button,
input,
textarea,
select {
  font-family: var(--hp-font) !important;
}

.hp-lp-v3,
.hp-lp-v3 *,
.hp-site-header,
.hp-site-header *,
.hp-site-footer,
.hp-site-footer *,
.hp-home,
.hp-home *,
.hp-archive,
.hp-archive * {
  font-family: var(--hp-font);
}

body {
  color: var(--hp-text);
  background-color: var(--hp-bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Base resets for typography */
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* -----------------------------
   SITE HEADER
----------------------------- */
.hp-site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--hp-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  z-index: 100;
  font-family: var(--hp-font) !important;
}

.hp-site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hp-site-header__logo img {
  height: 36px;
  width: auto;
}

.hp-site-nav {
  display: none;
}

@media (min-width: 768px) {
  .hp-site-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-right: auto;
  }
  .hp-site-nav a {
    color: var(--hp-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    font-family: var(--hp-font) !important;
  }
  .hp-site-nav a:hover {
    color: var(--hp-green-2);
  }
}

.hp-site-header__trust {
  display: none;
}
@media (min-width: 1024px) {
  .hp-site-header__trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--hp-green-2);
    font-weight: 700;
    background: rgba(13, 107, 75, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
  }
}

.hp-site-header__cta {
  display: inline-block;
  background-color: var(--hp-green-2);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
  font-family: var(--hp-font) !important;
  white-space: nowrap;
}
.hp-site-header__cta:hover {
  background-color: var(--hp-green);
  color: #fff;
}

.hp-site-header__toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.hp-site-header__toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--hp-text);
}
@media (min-width: 768px) {
  .hp-site-header__toggle { display: none; }
}



/* -----------------------------
   HOME PAGE
----------------------------- */
.hp-home-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hp-home-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.hp-home-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hp-home-hero p {
  font-size: 1.125rem;
  color: var(--hp-navy);
  margin-bottom: 2rem;
}

.hp-home-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hp-btn-primary {
  display: inline-block;
  background-color: var(--hp-green-2);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.hp-btn-secondary {
  display: inline-block;
  background-color: #fff;
  color: var(--hp-navy);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--hp-border);
}

.hp-home-trust-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hp-trust-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hp-text);
}
.hp-trust-chip svg {
  width: 20px;
  height: 20px;
  fill: var(--hp-green-2);
}

.hp-home-categories {
  padding: 5rem 1.5rem;
  background-color: #fff;
}

.hp-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hp-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin-bottom: 0.5rem;
}

.hp-section-header p {
  color: var(--hp-navy);
}

.hp-categories-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hp-categories-grid { grid-template-columns: repeat(4, 1fr); }
}

.hp-category-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.hp-category-card:hover {
  box-shadow: var(--hp-shadow-sm);
  transform: translateY(-2px);
}

.hp-category-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(13, 107, 75, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-category-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--hp-green-2);
}

.hp-category-card h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--hp-text);
}

.hp-home-featured {
  padding: 5rem 1.5rem;
  background-color: var(--hp-bg);
}

.hp-product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hp-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hp-product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* -----------------------------
   PRODUCT CARD (ARCHIVE & HOME)
----------------------------- */
.hp-product-card {
  background: #fff;
  border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.hp-product-card:hover {
  box-shadow: var(--hp-shadow);
}

.hp-product-card__image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.hp-product-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hp-product-card__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-green-2);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hp-product-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.hp-product-card__desc {
  color: var(--hp-navy);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.hp-product-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hp-orange);
  margin-bottom: 1rem;
}

.hp-product-card__cta {
  display: block;
  text-align: center;
  background-color: var(--hp-navy);
  color: #fff;
  padding: 0.8rem;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: background 0.2s;
}

.hp-product-card__cta:hover {
  background-color: #0f172a;
  color: #fff;
}

/* -----------------------------
   ARCHIVE PAGE
----------------------------- */
.hp-archive-hero {
  background-color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--hp-border);
}

.hp-archive-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin: 0 0 1rem;
}

.hp-archive-hero p {
  color: var(--hp-navy);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.hp-archive-grid-section {
  padding: 4rem 1.5rem;
}

/* -----------------------------
   HOW COD WORKS
----------------------------- */
.hp-home-how {
  padding: 5rem 1.5rem;
  background-color: var(--hp-navy);
  color: #fff;
  text-align: center;
}

.hp-home-how .hp-section-header h2 {
  color: #fff;
}

.hp-home-how .hp-section-header p {
  color: #94a3b8;
}

.hp-how-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .hp-how-grid { grid-template-columns: repeat(3, 1fr); }
}

.hp-how-step {
  position: relative;
  z-index: 2;
}

.hp-how-step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-how-step__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--hp-orange);
}

.hp-how-step h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.hp-how-step p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* -----------------------------
   POLICY & PAGE CONTAINERS
----------------------------- */
.hp-page-wrapper {
  padding: 4rem 1.5rem;
  background-color: var(--hp-bg);
  min-height: 100vh;
}
.hp-page-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 2rem;
  box-shadow: var(--hp-shadow-sm);
}
@media (min-width: 768px) {
  .hp-page-container {
    padding: 3rem;
  }
}
.hp-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hp-border);
}
.hp-page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hp-navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.hp-page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hp-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.hp-page-content p {
  margin-bottom: 1rem;
  color: var(--hp-text);
}
.hp-page-content ul, .hp-page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.hp-page-content li {
  margin-bottom: 0.5rem;
}

/* GLOBAL FONT ENFORCEMENT */
body, button, input, textarea, select {
  font-family: var(--hp-font);
}

.hp-lp-v3,
.hp-lp-v3 *,
.hp-site-header,
.hp-site-header *,
.hp-site-footer,
.hp-site-footer *,
.hp-home,
.hp-home *,
.hp-archive,
.hp-archive * {
  font-family: var(--hp-font);
}

/* -----------------------------
   FOOTER STYLES
----------------------------- */
.hp-site-footer {
  background-color: var(--hp-navy);
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem;
  font-family: var(--hp-font) !important;
  margin-top: 4rem;
}
.hp-site-footer__top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hp-site-footer__top {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
  }
}
.hp-site-footer__col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.hp-site-footer__col p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.hp-site-footer__logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.hp-site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hp-site-footer__links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.hp-site-footer__links a:hover {
  color: #fff;
}
.hp-site-footer__trust {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hp-site-footer__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.hp-site-footer__trust svg {
  fill: var(--hp-green-2);
  width: 20px;
  height: 20px;
}
.hp-site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.hp-site-footer__disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hp-site-footer__copy {
  font-size: 0.85rem;
  color: #64748b;
}

/* Utility for Policy pages */
.hp-bg-neutral { background-color: #f8fafc; }
.hp-text-neutral { color: #475569; }
.hp-page-wrapper {
    background-color: #ffffff;
}
.hp-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hp-navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* -----------------------------
   PAGE STYLES (POLICY, ABOUT, SHIPPING)
----------------------------- */
.hp-page {
    background-color: var(--hp-bg);
    padding: 4rem 1.5rem;
    min-height: 70vh;
}
.hp-page__inner {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border);
}
.hp-page__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hp-border);
}
.hp-page__title {
    font-size: 2.5rem;
    color: var(--hp-navy);
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 0;
}
.hp-page__meta {
    color: var(--hp-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.hp-page__content h2 {
    font-size: 1.5rem;
    color: var(--hp-navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.hp-page__content p {
    color: var(--hp-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
.hp-page__content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.hp-page__content li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Custom Grids */
.hp-container { max-width: 1200px; margin: 0 auto; }
.hp-policy-grid { display: grid; gap: 2rem; }
@media(min-width: 768px) {
    .hp-policy-grid-2 { grid-template-columns: 1fr 1fr; }
    .hp-policy-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
    .hp-page__inner { padding: 4rem; }
}
.hp-policy-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-policy-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--hp-shadow);
}
.hp-policy-icon-box {
    width: 60px; height: 60px;
    background: rgba(13,107,75,0.1);
    color: var(--hp-green-2);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.hp-policy-icon-box svg { width: 32px; height: 32px; fill: currentColor; }
.hp-policy-hero { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.hp-policy-badge { 
    display: inline-block; 
    padding: 0.4rem 1.2rem; 
    background: rgba(13,107,75,0.1); 
    color: var(--hp-green-2); 
    border-radius: 2rem; 
    font-weight: 800; 
    font-size: 0.85rem; 
    margin-bottom: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}
.hp-about-img {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--hp-shadow);
}
.hp-about-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hp-green-2);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 1rem;
}
.hp-cta-btn:hover { background-color: var(--hp-navy); color: #fff;}

/* FORCE FULL WIDTH FOR CUSTOM TEMPLATES TO FIX LEFT ALIGNMENT */
body.page-template-template-thankyou #primary,
body.page-template-template-about #primary,
body.page-template-template-shipping #primary,
body.page-template-template-privacy #primary,
body.page-template-template-terms #primary,
body.page-template-template-returns #primary,
body.page-template-template-disclaimer #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-thankyou #right-sidebar,
body.page-template-template-about #right-sidebar,
body.page-template-template-shipping #right-sidebar,
body.page-template-template-privacy #right-sidebar,
body.page-template-template-terms #right-sidebar,
body.page-template-template-returns #right-sidebar,
body.page-template-template-disclaimer #right-sidebar {
    display: none !important;
}

body.page-template-template-thankyou .site.grid-container,
body.page-template-template-about .site.grid-container,
body.page-template-template-shipping .site.grid-container,
body.page-template-template-privacy .site.grid-container,
body.page-template-template-terms .site.grid-container,
body.page-template-template-returns .site.grid-container,
body.page-template-template-disclaimer .site.grid-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

body.page-template-template-thankyou .site-content,
body.page-template-template-about .site-content,
body.page-template-template-shipping .site-content,
body.page-template-template-privacy .site-content,
body.page-template-template-terms .site-content,
body.page-template-template-returns .site-content,
body.page-template-template-disclaimer .site-content {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}
