/* ============================================================
   RIVERPINE LABS — storefront skin v1.0 (rp-modern)
   Natural river & pine identity over Astra/WooCommerce.
   Appended to custom CSS; klow.bio-style editorial layout.
   ============================================================ */

/* ---------- palette + base ---------- */
.rp-modern, body.rp-modern {
  --rp-cream: #f7f4ed;
  --rp-paper: #fcfbf6;
  --rp-pine: #1f4a38;
  --rp-pine-deep: #163a2b;
  --rp-pine-ink: #103024;
  --rp-teal: #2e7d8c;
  --rp-teal-deep: #20606e;
  --rp-sage: #9db8a4;
  --rp-mist: #e7efe8;
  --rp-sand: #e9e2d4;
  --rp-ink: #26332c;
  background: var(--rp-cream);
  color: var(--rp-ink);
  font-family: 'Karla', 'Helvetica Neue', Arial, sans-serif;
}
body.rp-modern h1, body.rp-modern h2, body.rp-modern h3,
body.rp-modern .entry-title, body.rp-modern .woocommerce-loop-product__title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--rp-pine-ink);
  letter-spacing: -0.01em;
}

/* ---------- promo bar ---------- */
.rp-promo-bar {
  background: var(--rp-pine);
  color: #f2efe6;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* ---------- hero ---------- */
.rp-hero { position: relative; background: var(--rp-pine-ink); }
.rp-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--rp-hero-url, none);
  background-size: cover; background-position: center 30%;
}
.rp-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,42,31,0.88) 0%, rgba(16,42,31,0.62) 34%, rgba(16,42,31,0.10) 68%, rgba(16,42,31,0) 100%);
}
.rp-hero-inner {
  position: relative; z-index: 2; max-width: 1240px;
  margin: 0 auto; padding: 108px 24px 116px;
}
.rp-hero h1 {
  color: #fbfaf4; font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08; font-weight: 700; margin: 14px 0 18px; max-width: 15ch;
  text-shadow: 0 1px 24px rgba(10,28,20,0.35);
}
.rp-hero-sub {
  color: #e9efe6; font-size: clamp(16px, 1.6vw, 19.5px); line-height: 1.55;
  max-width: 46ch; margin: 0 0 30px;
}
.rp-eyebrow {
  font-family: 'Karla', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--rp-teal);
  margin: 0;
}
.rp-hero .rp-eyebrow { color: #bfd9cf; }
.rp-eyebrow-light { color: #a9c7b6 !important; }

/* ---------- buttons ---------- */
.rp-btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: 'Karla', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 0.04em; text-decoration: none; transition: all .18s ease;
  border: 2px solid transparent; cursor: pointer;
}
.rp-btn-solid { background: var(--rp-pine); color: #fbfaf4; }
.rp-btn-solid:hover { background: var(--rp-pine-deep); color: #fff; }
.rp-btn-ghost { border-color: rgba(251,250,244,0.75); color: #fbfaf4; margin-left: 12px; }
.rp-btn-ghost:hover { background: rgba(251,250,244,0.14); color: #fff; }
.rp-btn-cream { background: var(--rp-cream); color: var(--rp-pine-ink); }
.rp-btn-cream:hover { background: #fff; color: var(--rp-pine-deep); }

/* ---------- trust bar ---------- */
.rp-trustbar {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  max-width: 1240px; margin: 0 auto; padding: 34px 24px 30px;
  background: var(--rp-paper);
}
.rp-trust-item { display: flex; gap: 12px; align-items: flex-start; }
.rp-trust-ic { color: var(--rp-teal); flex: 0 0 auto; margin-top: 2px; }
.rp-trust-tx strong { display: block; font-size: 14.5px; color: var(--rp-pine-ink); }
.rp-trust-tx em { display: block; font-style: normal; font-size: 12.5px; color: #5c6b60; margin-top: 2px; }

/* ---------- why section ---------- */
.rp-why { max-width: 1240px; margin: 0 auto; padding: 64px 24px 24px; }
.rp-why-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.rp-why-head h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 12px 0 16px; }
.rp-lede { color: #4c5a50; font-size: 16.5px; line-height: 1.65; margin: 0; }
.rp-why-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.rp-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rp-card {
  background: var(--rp-paper); border: 1px solid #e5e0d2; border-radius: 14px;
  padding: 26px 24px 24px;
}
.rp-num {
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700;
  color: var(--rp-teal); letter-spacing: 0.08em;
}
.rp-card h3 { font-size: 19.5px; margin: 8px 0 10px; }
.rp-card p { font-size: 14.5px; line-height: 1.62; color: #4c5a50; margin: 0; }
.rp-why-img { margin: 0; background: var(--rp-paper); border: 1px solid #e5e0d2; border-radius: 14px; padding: 18px; }
.rp-why-img img { width: 100%; height: auto; border-radius: 8px; display: block; }
.rp-why-img figcaption { font-size: 12.5px; color: #5c6b60; margin-top: 12px; text-align: center; }

/* ---------- featured / woo grid ---------- */
.rp-featured { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.rp-featured > .rp-eyebrow, .rp-featured > p:first-child { text-align: center; }
.rp-featured h2 { text-align: center; font-size: clamp(26px, 3.2vw, 40px); margin: 12px 0 34px; }
.rp-featured .woocommerce, .rp-featured ul.products { max-width: 100%; }
body.rp-modern ul.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none;
}
body.rp-modern ul.products li.product {
  width: 100% !important; margin: 0 !important; padding: 0 !important;
  background: var(--rp-paper); border: 1px solid #e5e0d2; border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
body.rp-modern ul.products li.product:hover {
  box-shadow: 0 12px 34px rgba(22,58,43,0.13); transform: translateY(-2px);
}
body.rp-modern ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; }
body.rp-modern ul.products li.product img {
  width: 100% !important; height: auto; margin: 0 !important;
  aspect-ratio: 1/1; object-fit: cover; background: var(--rp-cream);
}
body.rp-modern .woocommerce-loop-product__title {
  font-family: 'Karla', sans-serif !important; font-size: 15.5px !important;
  font-weight: 700; color: var(--rp-pine-ink) !important; padding: 14px 16px 4px !important;
}
body.rp-modorn .woocommerce-loop-product__title, body.rp-modern .woocommerce-loop-product__title { line-height: 1.35; }
body.rp-modern ul.products li.product .price {
  color: var(--rp-teal-deep) !important; font-family: 'Karla', sans-serif;
  font-weight: 700; padding: 2px 16px 12px; font-size: 15.5px;
  margin: 0 !important;
}
body.rp-modern ul.products li.product .price del { color: #93a094; opacity: .75; font-size: 13px; }
body.rp-modern ul.products li.product .rp-batch-line {
  font-size: 11.5px; letter-spacing: .06em; color: #6b786d; padding: 0 16px 10px;
}
body.rp-modern ul.products li.product .button,
body.rp-modern ul.products li.product .add_to_cart_button {
  margin: auto 16px 16px !important; border-radius: 999px !important;
  background: var(--rp-pine) !important; color: #fbfaf4 !important;
  font-family: 'Karla', sans-serif !important; font-weight: 700;
  padding: 10px 18px !important; text-align: center; border: none;
  transition: background .15s ease;
}
body.rp-modern ul.products li.product .button:hover { background: var(--rp-pine-deep) !important; }
body.rp-modern ul.products li.product .onsale {
  background: var(--rp-teal) !important; color: #fff !important;
  border-radius: 999px; padding: 4px 12px; line-height: 1.4;
}

/* ---------- blend band ---------- */
.rp-blend { background: var(--rp-pine-deep); }
.rp-blend-inner {
  max-width: 1240px; margin: 0 auto; padding: 84px 24px; text-align: center;
  background-image: radial-gradient(ellipse at 85% 15%, rgba(46,125,140,0.25), transparent 55%);
}
.rp-blend h2 { color: #fbfaf4; font-size: clamp(30px, 3.8vw, 48px); margin: 12px 0 8px; }
.rp-blend-comp {
  font-family: 'Karla', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #9fc7b3; margin: 0 0 18px;
}
.rp-blend-copy { color: #d6e2d6; max-width: 62ch; margin: 0 auto 30px; line-height: 1.65; font-size: 16.5px; }

/* ---------- about ---------- */
.rp-about { max-width: 1240px; margin: 0 auto; padding: 72px 24px 88px; }
.rp-about-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.rp-about h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 12px 0 20px; }
.rp-about p { color: #4c5a50; line-height: 1.7; font-size: 16.5px; margin: 0 0 16px; }
.rp-about-legal { font-size: 13px !important; color: #6b786d !important; border-top: 1px solid var(--rp-sand); padding-top: 18px; }
.rp-link { color: var(--rp-teal-deep); font-weight: 700; text-decoration: none; }
.rp-link:hover { color: var(--rp-pine); }

/* ---------- header (astra override) ---------- */
body.rp-modern .ast-above-header, body.rp-modern .ast-below-header { display: none; }
body.rp-modern #masthead {
  background: var(--rp-paper) !important;
  border-bottom: 1px solid #e7e1d3;
}
body.rp-modern .main-header-bar { background: transparent !important; }
body.rp-modern .main-header-menu .menu-link, body.rp-modern .main-header-menu a {
  color: var(--rp-pine-ink) !important;
  font-family: 'Karla', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
}
body.rp-modern .main-header-menu .menu-item:hover > .menu-link { color: var(--rp-teal-deep) !important; }
body.rp-modern .site-branding img.custom-logo { max-height: 74px !important; width: auto; }
body.rp-modern .cp-signin-btn, body.rp-modern .ast-header-woo-cart {
  font-family: 'Karla', sans-serif;
}
body.rp-modern .main-navigation .cp-signin-btn a,
body.rp-modern .main-header-bar .cp-signin-btn {
  color: var(--rp-teal-deep) !important; font-weight: 700;
}
/* header cart count */
body.rp-modern .ast-cart-menu-wrap .count { background: var(--rp-teal) !important; color: #fff !important; }

/* ---------- astra footer off, rp footer on ---------- */
body.rp-modern .site-footer { display: none !important; }
#rp-site-footer {
  background: var(--rp-pine-ink); color: #c9d8cb;
  font-family: 'Karla', sans-serif;
}
.rp-footer-main {
  max-width: 1240px; margin: 0 auto; padding: 58px 24px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px;
}
.rp-footer-brand img.rp-footer-logo { width: 210px; height: auto; }
.rp-footer-brand p { font-size: 13.5px; line-height: 1.65; color: #9fb4a4; margin: 14px 0 0; max-width: 34ch; }
.rp-footer-col h4 {
  font-family: 'Karla', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #8fb5a0; margin: 0 0 16px;
}
.rp-footer-col ul { list-style: none; margin: 0; padding: 0; }
.rp-footer-col li { margin: 0 0 10px; }
.rp-footer-col a { color: #d9e5da !important; text-decoration: none; font-size: 14px; }
.rp-footer-col a:hover { color: #fff !important; }
.rp-footer-col .rp-footer-contact a { color: #a9d3c9 !important; font-weight: 700; }
.rp-legal-bar {
  border-top: 1px solid rgba(255,255,255,0.09);
  background: #0c261c;
}
.rp-legal-inner {
  max-width: 1240px; margin: 0 auto; padding: 22px 24px 26px;
  font-size: 12px; line-height: 1.7; color: #7e947f;
}
.rp-legal-inner strong { color: #a9c0ab; }
.rp-footer-end {
  padding-top: 12px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- shop archive ---------- */
body.rp-modern .woocommerce-products-header__title.page-title {
  font-size: clamp(28px, 3.4vw, 42px);
}
body.rp-modern .woocommerce-result-count { color: #5c6b60; font-family: 'Karla', sans-serif; }
body.rp-modern .woocommerce-ordering select { border-radius: 999px; border: 1px solid #d9d2c0; padding: 8px 14px; background: var(--rp-paper); font-family: 'Karla', sans-serif; }
body.rp-modern nav.woocommerce-pagination ul li a, body.rp-modern nav.woocommerce-pagination ul li span {
  border-radius: 999px !important; border: 1px solid #d9d2c0 !important; color: var(--rp-pine-ink) !important;
  margin: 0 3px;
}
body.rp-modern nav.woocommerce-pagination ul li span.current { background: var(--rp-pine) !important; color: #fff !important; border-color: var(--rp-pine) !important; }

/* ---------- product page ---------- */
body.rp-modern div.product .product_title { font-size: clamp(26px, 3vw, 38px); }
body.rp-modern div.product .price { color: var(--rp-teal-deep) !important; font-family: 'Karla', sans-serif; font-weight: 700; font-size: 24px; }
body.rp-modern div.product form.cart .button,
body.rp-modern div.product .single_add_to_cart_button {
  background: var(--rp-pine) !important; color: #fbfaf4 !important;
  border-radius: 999px !important; padding: 14px 34px !important;
  font-family: 'Karla', sans-serif !important; font-weight: 700; font-size: 15.5px !important;
}
body.rp-modern div.product form.cart .button:hover { background: var(--rp-pine-deep) !important; }
body.rp-modern div.product form.cart .variations select { border-radius: 10px; border: 1px solid #d9d2c0; padding: 10px 12px; background: var(--rp-paper); }
body.rp-modern div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; }
body.rp-modern div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--rp-paper); }
body.rp-modern .woocommerce-message, body.rp-modern .woocommerce-info {
  border-top-color: var(--rp-teal); background: var(--rp-mist);
}
body.rp-modern .quantity input[type=number] { border-radius: 10px; border: 1px solid #d9d2c0; padding: 10px; }
body.rp-modern div.product div.woocommerce-product-gallery img { border-radius: 14px; }

/* ---------- generic content pages ---------- */
body.rp-modern .entry-content h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 28px 0 14px; }
body.rp-modern .entry-content p { line-height: 1.7; color: #3d4b42; }
.rp-page-hero { background: var(--rp-mist); padding: 46px 24px 42px; text-align: center; }
.rp-page-hero h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 12px; }
.rp-page-hero p { max-width: 68ch; margin: 0 auto; color: #4c5a50; line-height: 1.65; }
.rp-policy-content { max-width: 800px; margin: 0 auto; padding: 40px 24px 70px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  body.rp-modern ul.products { grid-template-columns: repeat(3, 1fr); }
  .rp-trustbar { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .rp-why-body { grid-template-columns: 1fr; }
  .rp-why-img { max-width: 520px; margin: 0 auto; }
  .rp-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  .rp-hero-inner { padding: 72px 20px 80px; }
  .rp-trustbar { grid-template-columns: 1fr 1fr; }
  body.rp-modern ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rp-why-grid { grid-template-columns: 1fr; }
  .rp-btn-ghost { margin-left: 0; margin-top: 12px; }
  .rp-hero-cta { display: flex; flex-direction: column; align-items: flex-start; }
  .rp-footer-main { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  body.rp-modern ul.products { grid-template-columns: 1fr 1fr; }
  .rp-hero h1 { font-size: 32px; }
}

/* v1.0.2 — specificity overrides vs legacy cp header css */
body.rp-modern .rp-hero h1 { color: #fbfaf4 !important; }
body.rp-modern h1, body.rp-modern h2, body.rp-modern h3 { color: #103024 !important; }
body.rp-modern .rp-blend h2, body.rp-modern .rp-page-hero h1 { color: inherit; }
body.rp-modern .rp-blend h2 { color: #fbfaf4 !important; }
body.rp-modern .rp-hero .rp-eyebrow { color: #bfd9cf !important; }

/* v2.1 — photo-hero contrast + gate affordance */
body.rp-modern .rp-hero::after {
  background: linear-gradient(90deg, rgba(13,32,24,0.94) 0%, rgba(13,32,24,0.78) 30%, rgba(13,32,24,0.42) 55%, rgba(13,32,24,0.06) 80%, rgba(13,32,24,0) 100%);
}
body.rp-modern .rp-hero h1 { color: #ffffff !important; text-shadow: 0 2px 26px rgba(8,20,14,0.55); }
body.rp-modern .rp-hero-sub { color: #f2f5ef !important; text-shadow: 0 1px 14px rgba(8,20,14,0.5); }
body.rp-modern .rp-hero .rp-eyebrow { color: #dcebe0 !important; }
#cp-age-enter:disabled { opacity: .45; cursor: not-allowed; }
#cp-age-enter:not(:disabled) { background: #1f4a38 !important; color: #fff !important; opacity: 1; cursor: pointer; box-shadow: 0 6px 22px rgba(31,74,56,.35); }


/* ============ RP-SKIN v3 (klow language) ============ */
/* ============================================================
   RIVERPINE v3 — klow.bio design language over the pine identity.
   Montserrat display, white header w/ ink pills, light bars,
   lineup hero, light footer w/ newsletter + disclaimer box.
   ============================================================ */

/* ---------- display type goes geometric sans ---------- */
body.rp-modern h1, body.rp-modern h2, body.rp-modern h3,
body.rp-modern .entry-title, body.rp-modern .woocommerce-loop-product__title,
body.rp-modern div.product .product_title {
  font-family: 'Montserrat', 'Karla', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em;
  color: #0f1d16 !important;
}
body.rp-modern .rp-hero-klow h1 { font-size: clamp(30px, 4vw, 52px); margin: 10px 0 12px; }

/* ---------- ink pills (klow's black-pill language) ---------- */
body.rp-modern .rp-btn-ink { background: #0f1d16 !important; color: #fff !important; }
body.rp-modern .rp-btn-ink:hover { background: #24382c !important; }
body.rp-modern .rp-btn-paper { background: rgba(255,255,255,.94) !important; color: #0f1d16 !important; border-color: #0f1d16 !important; }
body.rp-modern .rp-btn-sm { padding: 9px 22px !important; font-size: 13.5px !important; }

/* ---------- header: white, centered feel, black pills ---------- */
body.rp-modern #masthead { background: #ffffff !important; }
body.rp-modern .main-header-bar { background: transparent !important; }
body.rp-modern .main-header-menu .menu-link {
  color: #0f1d16 !important; font-family: 'Montserrat', sans-serif !important;
  font-weight: 700; font-size: 14.5px; border-radius: 999px; padding: 9px 20px !important;
}
body.rp-modern .main-header-menu .menu-item:hover > .menu-link { color: #2e7d8c !important; }
body.rp-modern .main-header-menu .current-menu-item > .menu-link,
body.rp-modern .main-header-menu .current_page_item > .menu-link {
  background: #0f1d16 !important; color: #ffffff !important;
}
body.rp-modern .main-header-menu .current-menu-item > .menu-link:hover { color: #fff !important; }
/* cart menu item -> black pill */
body.rp-modern li.menu-item:has(.cp-cart-count) > a {
  background: #0f1d16 !important; color: #fff !important;
  border-radius: 999px !important; padding: 9px 22px !important;
  font-family: 'Montserrat', sans-serif !important; font-weight: 700; font-size: 14px !important;
}
body.rp-modern li.menu-item:has(.cp-cart-count) > a:hover { background: #24382c !important; color: #fff !important; }
body.rp-modern .cp-cart-count {
  display: inline-block; min-width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: #fff !important; color: #0f1d16 !important; border-radius: 999px;
  font-size: 12px; margin-left: 6px; padding: 0 5px;
}
body.rp-modern .site-branding img.custom-logo { max-height: 58px !important; }

/* ---------- sitewide top bars (rendered by rp-brand) ---------- */
.rp-topbar {
  background: #f6f7f6; color: #3d4b42; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  padding: 9px 14px; display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.rp-topbar strong { color: #0f1d16; font-weight: 800; }
.rp-topbar .rp-code {
  background: #0f1d16; color: #fff; border-radius: 6px; padding: 2px 10px;
  letter-spacing: .12em; font-weight: 800;
}
.rp-cd { display: inline-flex; gap: 4px; align-items: center; margin: 0 2px; }
.rp-cd b {
  background: #0f1d16; color: #fff; border-radius: 6px; min-width: 30px;
  font-size: 12.5px; padding: 3px 0; text-align: center; font-variant-numeric: tabular-nums;
}
.rp-cd span { font-size: 11px; color: #6b786d; font-weight: 700; }
.rp-shipbar { background: #fff; border-bottom: 1px solid #ecefe9; text-align: center; padding: 8px 14px 10px; }
.rp-shipbar p { margin: 0 0 6px; font-size: 12.5px; color: #4c5a50; font-weight: 600; font-family: 'Montserrat', sans-serif; }
.rp-shipbar p strong { color: #0f1d16; font-weight: 800; }
.rp-ship-track { max-width: 420px; height: 5px; background: #e7ebe4; border-radius: 99px; margin: 0 auto; overflow: hidden; }
.rp-ship-fill { height: 100%; width: 0%; background: #2e7d8c; border-radius: 99px; transition: width .5s ease; }

/* ---------- klow-style lineup hero ---------- */
.rp-hero-klow { max-width: 1240px; margin: 0 auto; padding: 34px 24px 10px; text-align: center; }
body.rp-modern .rp-hero-klow .rp-eyebrow { color: #2e7d8c; }
body.rp-modern .rp-hero-klow .rp-hero-sub { max-width: 64ch; margin: 0 auto 26px; color: #4c5a50 !important; font-size: 16.5px; line-height: 1.6; }
.rp-lineup { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,29,22,.14); }
.rp-lineup img { display: block; width: 100%; height: auto; }
.rp-lineup-cta {
  position: absolute; left: 0; right: 0; bottom: 7%;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 0 16px;
}
.rp-lineup-cta .rp-btn { box-shadow: 0 10px 28px rgba(15,29,22,.28); }

/* ---------- product cards go klow-white ---------- */
body.rp-modern ul.products li.product { background: #ffffff !important; border-color: #e8ece7 !important; }
body.rp-modern .woocommerce-loop-product__title { font-size: 16px !important; }
body.rp-modern ul.products li.product .price { color: #0f1d16 !important; font-weight: 800 !important; }
body.rp-modern ul.products li.product .button,
body.rp-modern ul.products li.product .add_to_cart_button {
  background: #0f1d16 !important;
}
body.rp-modern ul.products li.product .button:hover { background: #24382c !important; }
body.rp-modern div.product form.cart .button,
body.rp-modern div.product .single_add_to_cart_button { background: #0f1d16 !important; }
body.rp-modern div.product form.cart .button:hover { background: #24382c !important; }

/* ---------- product page: klow blocks ---------- */
.rp-purity-line { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: 'Montserrat', sans-serif; }
.rp-purity-line strong { font-size: 19px; font-weight: 800; color: #0f1d16; }
.rp-purity-line a { font-size: 13px; font-weight: 700; color: #2e7d8c; text-decoration: none; }
.rp-purity-line a:hover { color: #0f1d16; }
.rp-ship-promises {
  border: 1px solid #e5eae3; border-radius: 14px; padding: 18px 20px; margin: 22px 0;
  background: #fbfcf9; font-size: 14px; color: #3d4b42; line-height: 1.7;
}
.rp-ship-promises strong { color: #0f1d16; }
.rpoverview-h { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: #0f1d16; margin: 26px 0 8px; }

/* ---------- footer goes light (klow) ---------- */
#rp-site-footer { background: #f5f7f5 !important; color: #3d4b42 !important; }
.rp-news-card {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.rp-news-inner {
  background: #fff; border: 1px solid #e5eae3; border-radius: 16px;
  padding: 34px 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center;
  transform: translateY(34px); box-shadow: 0 18px 44px rgba(15,29,22,.08);
}
.rp-news-inner .rp-eyebrow { color: #2e7d8c; }
.rp-news-inner h3 { font-size: 26px; margin: 8px 0 8px; color: #0f1d16; }
.rp-news-inner p { margin: 0; font-size: 14px; color: #5c6b60; line-height: 1.6; }
.rp-news-form { display: flex; gap: 10px; }
.rp-news-form input[type=email] {
  flex: 1; border-radius: 999px; border: 1px solid #d9d2c0; padding: 13px 20px;
  font-family: 'Karla', sans-serif; font-size: 14.5px; background: #fbfcf9;
}
.rp-news-form button {
  border-radius: 999px; background: #0f1d16; color: #fff; border: none;
  padding: 13px 28px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; cursor: pointer;
}
.rp-news-done { background: #e7f2ea; border-radius: 12px; padding: 16px 20px; font-size: 14.5px; }
.rp-news-done strong { letter-spacing: .1em; }
.rp-footer-main { padding-top: 70px !important; }
.rp-footer-brand p { color: #5c6b60 !important; }
.rp-footer-col h4 { color: #0f1d16 !important; }
.rp-footer-col a { color: #4c5a50 !important; }
.rp-footer-col a:hover { color: #0f1d16 !important; }
.rp-footer-contact a { color: #2e7d8c !important; }
.rp-secure-line {
  max-width: 1240px; margin: 6px auto 0; padding: 0 24px 18px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #0f1d16;
}
.rp-disclaimer-box {
  max-width: 1240px; margin: 0 auto 26px; padding: 0 24px;
}
.rp-disclaimer-inner {
  background: #eef1ec; border-left: 5px solid #0f1d16; border-radius: 0 12px 12px 0;
  padding: 18px 22px; font-size: 12.5px; line-height: 1.7; color: #4c5a50;
}
.rp-disclaimer-inner strong.h { display: block; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .18em; color: #0f1d16; margin-bottom: 6px; }
.rp-disclaimer-inner strong.ruo { color: #0f1d16; }
.rp-legal-bar { background: #0f1d16 !important; }
.rp-legal-inner { color: #93a79b !important; }
.rp-legal-inner strong { color: #cfddd3 !important; }

@media (max-width: 782px) {
  .rp-news-inner { grid-template-columns: 1fr; padding: 26px 22px; }
  .rp-news-form { flex-direction: column; }
  .rp-lineup-cta { bottom: 5%; }
  .rp-lineup-cta .rp-btn { padding: 12px 24px !important; font-size: 14px !important; }
}

/* v3.1 — kill orange cart, bury compliance mini-bar, strip order */
html body.rp-modern #masthead #ast-desktop-header .main-header-menu .menu-item a.menu-link.cp-cart-link,
html body.rp-modern #masthead #ast-mobile-header .main-navigation .main-header-menu .menu-item a.menu-link.cp-cart-link {
  background: #0f1d16 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}
html body.rp-modern #masthead .main-header-menu .menu-item a.menu-link.cp-cart-link:hover { background: #24382c !important; color: #fff !important; }
html body.rp-modern #masthead .cp-cart-count { background: #fff !important; color: #0f1d16 !important; }
/* compliance mini-bar: never (promo + ship bars own the top now) */
.cpm-announcement { display: none !important; }
/* compliance footer aside -> light strip above rp footer */
.pc-compliance-footer {
  background: #eef1ec !important; color: #4c5a50 !important;
  text-align: center; font-size: 12.5px; padding: 14px 20px;
  border-top: 1px solid #dfe4db; line-height: 1.7;
}
.pc-compliance-footer a { color: #2e7d8c !important; }
.pc-compliance-footer .pc-legal-details { max-width: 760px; margin: 6px auto 0; }

/* v3.2 — age gate goes klow: geometric sans, black pill, soft depth */
#cp-agegate { background: rgba(13,22,17,.55) !important; backdrop-filter: blur(3px); }
#cp-agegate .cp-age-box {
  background: #fff !important; border-radius: 20px !important;
  border-top: none !important;
  box-shadow: 0 40px 100px rgba(13,22,17,.35) !important;
  max-width: 480px !important; padding: 40px 42px 34px !important;
  font-family: 'Montserrat', sans-serif !important;
}
#cp-agegate h2#cp-age-title, #cp-agegate h2 {
  font-family: 'Montserrat', sans-serif !important; font-weight: 800 !important;
  font-size: 26px !important; color: #0f1d16 !important; margin: 0 0 10px !important;
}
#cp-agegate .cp-age-sub { font-family: 'Karla', sans-serif !important; font-size: 14.5px !important; color: #4c5a50 !important; line-height: 1.6 !important; }
#cp-agegate label.cp-age-check {
  display: flex !important; align-items: flex-start !important; gap: 10px;
  font-family: 'Karla', sans-serif !important; font-size: 13.5px !important; color: #26332c !important;
  margin: 10px 0 !important; cursor: pointer; line-height: 1.5 !important;
}
#cp-agegate label.cp-age-check input[type=checkbox] {
  width: 20px !important; height: 20px !important; margin-top: 1px !important;
  accent-color: #0f1d16 !important; cursor: pointer; flex: 0 0 auto;
}
#cp-agegate #cp-age-enter.cp-btn {
  border-radius: 999px !important; font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important; letter-spacing: .06em !important;
  padding: 15px 20px !important; width: 100% !important; border: none !important;
}
#cp-agegate #cp-age-enter:disabled { background: #c9cfc8 !important; color: #fff !important; opacity: 1 !important; cursor: not-allowed; }
#cp-agegate #cp-age-enter:not(:disabled) { background: #0f1d16 !important; color: #fff !important; cursor: pointer; box-shadow: 0 10px 26px rgba(15,29,22,.35); }
#cp-agegate #cp-age-enter:not(:disabled):hover { background: #24382c !important; }
#cp-agegate .cp-age-fine { font-size: 11.5px !important; color: #8a948d !important; }
#cp-agegate .cp-age-no { font-size: 12.5px !important; }
/* v4 calibration-mirror: plain-text nav (black pills killed), compact new logo */
body.rp-modern .main-header-menu .menu-link { background: transparent !important; border-radius: 0 !important; padding: 9px 14px !important; color: #1b4d32 !important; }
body.rp-modern .main-header-menu .current-menu-item > .menu-link,
body.rp-modern .main-header-menu .current_page_item > .menu-link { background: transparent !important; color: #1b4d32 !important; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-thickness: 2px; }
body.rp-modern .main-header-menu .menu-item:hover > .menu-link { color: #3a7ca5 !important; }
body.rp-modern li.menu-item:has(.cp-cart-count) > a { background: transparent !important; color: #1b4d32 !important; border-radius: 0 !important; padding: 9px 14px !important; }
body.rp-modern li.menu-item:has(.cp-cart-count) > a:hover { background: transparent !important; color: #3a7ca5 !important; }
body.rp-modern .cp-cart-count { background: #1b4d32 !important; color: #fff !important; }
body.rp-modern .site-branding img.custom-logo { max-height: 54px !important; width: auto; }
