/*
Theme Name: Keltris Peptides
Theme URI: https://keltrispeptides.com
Author: Keltris Peptides
Description: Custom WooCommerce theme for Keltris Peptides — precision science, purposeful wellness. Research use only.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keltris-theme
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --deep-teal:      #2F4B4F;
  --deep-teal-dim:  #3C5B5F;
  --deep-teal-soft: rgba(47, 75, 79, 0.08);
  --sage:           #A7BBA6;
  --sage-soft:      #C8D5C6;
  --champagne:      #CBB99A;
  --champagne-dark: #A8916C;
  --champagne-soft: #E8DFCF;
  --mauve:          #D6B4BD;
  --mauve-soft:     #EBD9DE;
  --cream:          #F6F3EF;
  --cream-warm:     #FBF9F5;
  --white:          #FFFFFF;
  --ink:            #22333B;
  --ink-mute:       #6B7B7E;

  --font-display:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width:      1200px;
  --gap:            2rem;
  --radius:         14px;
  --radius-sm:      8px;
  --radius-pill:    100px;

  --shadow-xs:      0 1px 2px rgba(47, 75, 79, 0.04);
  --shadow-sm:      0 4px 14px rgba(47, 75, 79, 0.06);
  --shadow-md:      0 12px 36px rgba(47, 75, 79, 0.1);
  --shadow-lg:      0 28px 60px rgba(47, 75, 79, 0.14);

  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:     0.3s var(--ease);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--deep-teal);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--champagne-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--deep-teal);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.subtitle { font-style: italic; color: var(--ink-mute); font-size: 1.1rem; margin-bottom: 1.25rem; }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */

.site-container { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; }

/* ============================================================
   RUO BANNER (top strip)
   ============================================================ */

.ruo-banner {
  background: var(--deep-teal);
  color: var(--cream-warm);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}
.ruo-banner strong { color: var(--champagne); font-weight: 500; }
.ruo-banner__dot { color: var(--champagne); margin: 0 0.6rem; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--cream-warm);
  border-bottom: 1px solid rgba(47, 75, 79, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-branding a { display: flex; align-items: center; gap: 0.75rem; }
.site-branding .logo-img { height: 44px; width: auto; }

.primary-nav { flex: 1; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
}
.primary-nav a {
  color: var(--deep-teal);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(47, 75, 79, 0.14);
  background: transparent;
  border-radius: 50%;
  color: var(--deep-teal);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.header-icon:hover { background: var(--deep-teal); color: var(--cream-warm); border-color: var(--deep-teal); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--champagne);
  color: var(--deep-teal);
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px; height: 18px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent; cursor: pointer;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--deep-teal); transition: all var(--transition); }

/* ============================================================
   HERO (front page)
   ============================================================ */

.keltris-hero {
  position: relative;
  padding: 6rem 1.5rem 7rem;
  background:
    radial-gradient(ellipse at top left, var(--mauve-soft) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, var(--sage-soft) 0%, transparent 55%),
    var(--cream);
  overflow: hidden;
}
.keltris-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.keltris-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  margin-bottom: 1.25rem;
}
.keltris-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  color: var(--deep-teal);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.keltris-hero__title em {
  font-style: italic;
  color: var(--champagne-dark);
  font-weight: 500;
}
.keltris-hero__sub {
  font-size: 1.15rem;
  color: var(--ink-mute);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.keltris-hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn--primary { background: var(--deep-teal); color: var(--cream-warm); }
.btn--primary:hover { background: var(--ink); color: var(--champagne); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--deep-teal); border-color: var(--deep-teal); }
.btn--ghost:hover { background: var(--deep-teal); color: var(--cream-warm); }
.btn--gold { background: var(--champagne); color: var(--deep-teal); }
.btn--gold:hover { background: var(--champagne-dark); color: var(--cream-warm); }

/* ============================================================
   VALUE PILLARS
   ============================================================ */

.keltris-pillars {
  padding: 4rem 1.5rem;
  background: var(--cream-warm);
  border-top: 1px solid rgba(47, 75, 79, 0.06);
  border-bottom: 1px solid rgba(47, 75, 79, 0.06);
}
.keltris-pillars__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.pillar { text-align: center; }
.pillar__icon {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-teal);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.pillar__body {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 5rem 1.5rem; }
.section--alt { background: var(--cream-warm); }
.section--tealback { background: var(--deep-teal); color: var(--cream-warm); }
.section--tealback h1, .section--tealback h2, .section--tealback h3 { color: var(--cream-warm); }
.section__inner { max-width: var(--max-width); margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  margin-bottom: 0.75rem;
}
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.75rem; }
.section__sub { color: var(--ink-mute); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.section--tealback .section__sub { color: var(--sage-soft); }

/* ============================================================
   CATEGORY TILES
   ============================================================ */

.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-tile {
  background: var(--cream-warm);
  border: 1px solid rgba(47, 75, 79, 0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--champagne);
  box-shadow: var(--shadow-md);
}
.cat-tile__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep-teal);
  font-weight: 600;
}
.cat-tile__meta { font-size: 0.85rem; color: var(--ink-mute); }
.cat-tile__arrow {
  margin-top: 0.75rem;
  color: var(--champagne-dark);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   PRODUCT GRID / CARDS
   ============================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

ul.products {
  list-style: none !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
  margin: 0 !important;
  padding: 0 !important;
}
ul.products li.product { list-style: none !important; }

.product-card,
ul.products li.product {
  background: var(--cream-warm);
  border: 1px solid rgba(47, 75, 79, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover,
ul.products li.product:hover {
  border-color: var(--champagne);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card__img-wrap,
ul.products li.product img {
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1rem;
  width: 100%;
}
.product-card__title,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  color: var(--deep-teal) !important;
  font-weight: 600 !important;
  margin: 0.25rem 0 0.35rem !important;
  padding: 0 !important;
}
.product-short-desc {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.product-card__price,
ul.products li.product .price {
  font-family: var(--font-display);
  font-size: 1.4rem !important;
  color: var(--deep-teal) !important;
  font-weight: 600 !important;
  margin: 0 0 1rem !important;
}
.product-card__price del,
ul.products li.product .price del { color: var(--ink-mute) !important; opacity: 0.6; font-size: 0.9em; }

/* RUO chip */
.ruo-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--deep-teal-soft);
  color: var(--deep-teal);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  width: fit-content;
}
.ruo-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne-dark);
}

/* Add-to-cart inside a product card */
ul.products li.product .button,
.product-card .button {
  background: var(--deep-teal) !important;
  color: var(--cream-warm) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.75rem 1.5rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin-top: auto !important;
  transition: all var(--transition) !important;
  border: none !important;
}
ul.products li.product .button:hover,
.product-card .button:hover { background: var(--champagne) !important; color: var(--deep-teal) !important; }

/* ============================================================
   WOOCOMMERCE SINGLE PRODUCT
   ============================================================ */

.page-body { padding: 3rem 0 5rem; }

.single-product div.product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}
.single-product .woocommerce-product-gallery {
  background: var(--cream-warm);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(47, 75, 79, 0.08);
}
.single-product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.single-product .price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--deep-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.single-product .woocommerce-product-details__short-description {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.7;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(47, 75, 79, 0.1);
}
.single-product form.cart { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1.5rem; }
.single-product form.cart .qty {
  width: 72px;
  padding: 0.75rem;
  border: 1px solid rgba(47, 75, 79, 0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  text-align: center;
}
.single-product form.cart .button,
.single-product form.cart .single_add_to_cart_button {
  background: var(--deep-teal) !important;
  color: var(--cream-warm) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.95rem 2.2rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border: none !important;
}
.single-product form.cart .single_add_to_cart_button:hover { background: var(--champagne) !important; color: var(--deep-teal) !important; }

.woocommerce-tabs { margin-top: 3rem; }
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none !important;
  border-bottom: 1px solid rgba(47, 75, 79, 0.14);
  padding: 0 !important;
  margin: 0 0 2rem !important;
}
.woocommerce-tabs ul.tabs li {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.woocommerce-tabs ul.tabs li::before { content: none !important; }
.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--deep-teal); border-bottom-color: var(--champagne); }

/* ============================================================
   WOOCOMMERCE CART / CHECKOUT
   ============================================================ */

.woocommerce-cart table.cart,
.woocommerce-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-warm);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(47, 75, 79, 0.08);
}
.woocommerce-cart table.cart th,
.woocommerce-checkout .shop_table th {
  background: var(--deep-teal);
  color: var(--cream-warm);
  padding: 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.woocommerce-cart table.cart td,
.woocommerce-checkout .shop_table td {
  padding: 1rem;
  border-top: 1px solid rgba(47, 75, 79, 0.06);
  vertical-align: middle;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--deep-teal);
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(47, 75, 79, 0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.keltris-ruo-ack {
  background: var(--mauve-soft);
  border: 1px solid var(--mauve);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.keltris-ruo-ack__label { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.keltris-ruo-ack input { margin-top: 0.3rem; accent-color: var(--deep-teal); }
.keltris-ruo-ack strong { color: var(--deep-teal); }

.wc_payment_method label { font-weight: 500; color: var(--deep-teal); }
.payment_method_nowpayments, .payment_box { background: var(--cream) !important; border-radius: var(--radius-sm); padding: 1rem; }

button.button[name="woocommerce_checkout_place_order"],
#place_order {
  width: 100% !important;
  background: var(--deep-teal) !important;
  color: var(--cream-warm) !important;
  padding: 1.1rem 2rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  font-weight: 500 !important;
  margin-top: 1rem !important;
  transition: all var(--transition);
}
#place_order:hover { background: var(--champagne) !important; color: var(--deep-teal) !important; }

/* ============================================================
   CRYPTO THANK-YOU NOTICE
   ============================================================ */

.keltris-crypto-notice {
  background: linear-gradient(135deg, var(--deep-teal), var(--deep-teal-dim));
  color: var(--cream-warm);
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  margin: 0 0 2rem;
  box-shadow: var(--shadow-md);
}
.keltris-crypto-notice h3 {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.keltris-crypto-notice p { color: var(--cream-warm); font-size: 0.98rem; }
.keltris-crypto-notice__foot { margin-top: 0.75rem; font-size: 0.85rem; color: var(--sage-soft); }
.keltris-crypto-notice a { color: var(--champagne); text-decoration: underline; }

/* ============================================================
   NOTICES
   ============================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-NoticeGroup {
  background: var(--cream-warm) !important;
  border-left: 3px solid var(--champagne) !important;
  color: var(--deep-teal) !important;
  padding: 1rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  margin-bottom: 1.5rem !important;
}
.woocommerce-error { border-left-color: #B85C4A !important; }

/* ============================================================
   CTA STRIP (Research & Safety callout)
   ============================================================ */

.keltris-cta-strip {
  background: var(--deep-teal);
  color: var(--cream-warm);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.keltris-cta-strip h2 { color: var(--champagne); margin-bottom: 0.75rem; }
.keltris-cta-strip p { color: var(--sage-soft); max-width: 620px; margin: 0 auto 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--deep-teal);
  color: var(--sage-soft);
  padding: 4rem 1.5rem 1.5rem;
  margin-top: auto;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 243, 239, 0.1);
}
.footer-col h4 {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { color: var(--sage-soft); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--champagne); }
.footer-brand {
  font-family: var(--font-display);
  color: var(--cream-warm);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--sage-soft);
  max-width: 300px;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badges span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  border: 1px solid rgba(203, 185, 154, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem; color: rgba(246, 243, 239, 0.55);
}
.footer-disclaimer { max-width: 680px; line-height: 1.6; }
.footer-disclaimer strong { color: var(--champagne); }

/* ============================================================
   CONTENT PAGES (About, FAQ, Research & Safety, Contact, etc.)
   ============================================================ */

.keltris-page {
  padding: 4rem 1.5rem 5rem;
  max-width: 780px;
  margin: 0 auto;
}
.keltris-page h1 { margin-bottom: 1rem; text-align: center; }
.keltris-page .subtitle { text-align: center; margin-bottom: 3rem; }
.keltris-page h2 { margin-top: 2.5rem; }
.keltris-page h3 { margin-top: 1.5rem; }
.keltris-page ul, .keltris-page ol { margin: 1rem 0 1rem 1.5rem; }
.keltris-page li { margin-bottom: 0.5rem; }

.keltris-page--narrow { max-width: 680px; }

/* Contact form */
.keltris-contact-form {
  background: var(--cream-warm);
  border: 1px solid rgba(47, 75, 79, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.keltris-contact-form label { display: block; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-teal); margin-bottom: 0.4rem; font-weight: 500; }
.keltris-contact-form input,
.keltris-contact-form textarea {
  width: 100%; padding: 0.8rem; border: 1px solid rgba(47, 75, 79, 0.18);
  border-radius: var(--radius-sm); background: var(--white);
  font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 1.25rem;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .keltris-pillars__inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .single-product div.product { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 340px);
    height: 100vh;
    background: var(--cream-warm);
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    z-index: 110;
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { right: 0; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .primary-nav a { font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(47, 75, 79, 0.4);
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
    z-index: 105;
  }
  .mobile-nav-overlay.is-visible { opacity: 1; pointer-events: auto; }
  .section { padding: 3.5rem 1.5rem; }
  .keltris-hero { padding: 4rem 1.5rem; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cat-tiles { grid-template-columns: 1fr; }
  .keltris-hero__ctas .btn { width: 100%; }
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 2rem; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
