/*
Theme Name: Rosabella
Theme URI: https://rosabella.us.com/
Author: Rosabella
Author URI: https://rosabella.us.com/
Description: Original custom WooCommerce theme for Rosabella — Beetroot & Moringa organic supplements. Cream and deep plum design, clean and mobile-first. Built to match the look of the original Rosabella store.
Version: 1.0.8
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary
License URI: https://rosabella.us.com/
Text Domain: rosabella
Domain Path: /languages
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Rosabella 1.0.8 — main stylesheet
   Colours: cream #FFFDF8, deep plum #2B0A1E, plum #6B1D4D,
   green #2E7D32, hot pink #FF2E88. System font stack only — no external fonts.
   ============================================================ */

:root {
  --cream: #FFFDF8;
  --cream-warm: #FDF6EC;
  --plum-dark: #2B0A1E;
  --plum: #6B1D4D;
  --plum-soft: #5B2A4A;
  --green: #2E7D32;
  --pink: #FF2E88;
  --ink: #2E1A26;
  --body: #453640;
  --muted: #6B5A63;
  --border: #E3D5DE;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 8px 28px rgba(43, 10, 30, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--plum-dark);
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: static; width: auto; height: auto;
  clip: auto; margin: 0; padding: 10px 14px;
  background: var(--plum-dark); color: #fff;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.button,
button.button,
a.button,
input[type="submit"].button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.rb-btn {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.button:hover,
button.button:hover,
a.button:hover,
input[type="submit"].button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.rb-btn:hover {
  background: var(--plum-dark);
  color: #fff;
  text-decoration: none;
}
.rb-btn--light {
  background: #fff;
  color: var(--plum-dark);
}
.rb-btn--light:hover { background: var(--cream-warm); color: var(--plum-dark); }
.rb-btn--outline {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}
.rb-btn--outline:hover { background: var(--plum); color: #fff; }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--plum);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--plum-dark);
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: 0.6; cursor: not-allowed;
}

/* ---------- Announcement bar ---------- */
.rb-announcement {
  background: var(--plum-dark);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}
.rb-announcement p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
.site-logo { flex-shrink: 0; line-height: 0; }
.site-logo a { display: inline-block; text-decoration: none; }
.site-logo img,
.custom-logo {
  max-height: 56px;
  width: auto;
}
.site-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--plum-dark);
  letter-spacing: -0.02em;
}

.primary-nav { display: none; }
.primary-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  display: block;
  color: var(--plum-dark);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 13px;
  border-radius: 8px;
}
.primary-nav a:hover { background: var(--cream-warm); text-decoration: none; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--plum); }

/* Dropdown (Guides) */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 60;
  flex-direction: column;
  align-items: stretch;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}
.primary-nav .sub-menu a { padding: 10px 12px; }
.primary-nav .menu-item-has-children > a::after {
  content: " \25BE";
  font-size: 0.8em;
  color: var(--plum);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--plum-dark);
  text-decoration: none;
}
.cart-link:hover { background: var(--cream-warm); text-decoration: none; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--plum-dark);
}
.menu-toggle:hover { background: var(--cream-warm); }
.menu-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 8px 20px 18px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--plum-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--plum); text-decoration: none; }
.mobile-nav .sub-menu { padding-left: 18px; }
.mobile-nav .sub-menu a { font-weight: 500; font-size: 0.95rem; }

@media (min-width: 990px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-actions { margin-left: 0; }
}

/* ---------- Main / sections ---------- */
.site-main { padding: 0 0 64px; }
.page-hero {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 32px;
  margin-bottom: 36px;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 640px; }

.rb-section { padding: 48px 0; }
.rb-section + .rb-section { border-top: 1px solid var(--border); }
.rb-section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.rb-section-head h2 { margin-bottom: 8px; }
.rb-section-head p { color: var(--muted); margin: 0; }
.rb-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 10px;
}

/* ---------- Hero ---------- */
.rb-hero {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 52px;
}
.rb-hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
.rb-hero h1 { font-size: 2.3rem; margin-bottom: 14px; }
.rb-hero-copy p.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--plum-soft);
  margin-bottom: 22px;
}
.rb-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.rb-hero-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.rb-hero-note strong { color: var(--green); }
.rb-hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rb-hero-media figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rb-hero-media img { width: 100%; height: auto; }
.rb-hero-media figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--plum-dark);
  text-align: center;
  border-top: 1px solid var(--border);
}
@media (min-width: 750px) {
  .rb-hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .rb-hero h1 { font-size: 2.7rem; }
}

/* ---------- Trust badges ---------- */
.rb-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 28px 0 0;
}
.rb-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--plum-dark);
}
.rb-badge span { display: block; font-size: 1.35rem; line-height: 1.2; }
@media (min-width: 750px) {
  .rb-badges { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Product cards ---------- */
.rb-products {
  display: grid;
  gap: 20px;
}
@media (min-width: 750px) {
  .rb-products { grid-template-columns: 1fr 1fr; }
}
.rb-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.rb-product-card-media { background: var(--cream-warm); }
.rb-product-card-media img { width: 100%; height: auto; }
.rb-product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rb-product-card-body h3 { margin-bottom: 6px; }
.rb-product-card-body h3 a { color: var(--plum-dark); }
.rb-product-card-body h3 a:hover { color: var(--plum); text-decoration: none; }
.rb-product-card-body p { font-size: 0.95rem; color: var(--body); }
.rb-product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--plum-dark);
  margin: 4px 0 16px;
}
.rb-product-price del {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  margin-right: 8px;
}
.rb-product-card-body .rb-btn { margin-top: auto; align-self: flex-start; }
.rb-save-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Benefit cards / steps / guides ---------- */
.rb-grid-3 { display: grid; gap: 16px; }
@media (min-width: 750px) { .rb-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.rb-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.rb-card h3 { font-size: 1.1rem; }
.rb-card p { font-size: 0.95rem; margin-bottom: 0; }
.rb-card .rb-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--plum-dark);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.rb-card a { font-weight: 700; }
.rb-card--dark {
  background: var(--plum-dark);
  color: #F3E7EE;
  border-color: var(--plum-dark);
}
.rb-card--dark h3 { color: #fff; }
.rb-card--dark a { color: #fff; }

/* ---------- FAQ accordion ---------- */
.rb-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.rb-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 18px;
}
.rb-faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--plum-dark);
  list-style: none;
}
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: " +"; color: var(--plum); float: right; }
.rb-faq details[open] summary::after { content: " \2212"; }
.rb-faq details p { margin: 0 0 16px; }

/* ---------- Guarantee / FDA ---------- */
.rb-guarantee {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}
.rb-guarantee h3 { margin-bottom: 4px; }
.rb-guarantee p { margin: 0; font-size: 0.95rem; }
.rb-fda {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.rb-fda-box {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-dark);
  color: #EADFE6;
  padding: 48px 0 0;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #F3E7EE; }
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
}
@media (min-width: 750px) {
  .footer-grid { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
}
.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-col p { font-size: 0.95rem; color: #EADFE6; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.95rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-logo img { max-height: 48px; width: auto; margin-bottom: 14px; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 0;
  font-size: 0.82rem;
  color: #C9B7C2;
}
.footer-disclaimer p { margin: 0 0 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 0 22px;
  font-size: 0.85rem;
  color: #C9B7C2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-bottom p { margin: 0; }

/* ---------- Page / post content ---------- */
.page-content, .post-content { max-width: 880px; margin: 0 auto; }
.page-content > h1:first-child { margin-bottom: 16px; }
.entry-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.entry-meta a { color: var(--muted); }

.posts-list { display: grid; gap: 20px; }
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.post-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.post-card h2 a { color: var(--plum-dark); }
.post-card p { font-size: 0.95rem; }

.pagination { margin-top: 32px; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--plum-dark);
  font-weight: 600;
  margin: 0 2px;
}
.pagination .page-numbers.current { background: var(--plum-dark); color: #fff; border-color: var(--plum-dark); }

.comments-area { max-width: 880px; margin: 40px auto 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}

.widget-area { margin-top: 40px; }
.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.widget h2, .widget .widget-title { font-size: 1.1rem; }

/* ============================================================
   Guide pages (.rb-guide) — About Beetroot, About Moringa,
   How Rosabella Works, Reviews. Content comes from the pages
   created in WordPress; these styles make them look right.
   ============================================================ */
.rb-guide { max-width: 880px; margin: 0 auto; }
.rb-guide p { line-height: 1.7; }
.rb-guide h2 {
  color: var(--plum-dark);
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 36px 0 10px;
}
.rb-guide h3 { color: var(--plum-dark); margin: 20px 0 6px; }
.rb-guide-hero {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  display: grid;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}
.rb-guide-hero img { border-radius: 12px; width: 100%; }
.rb-guide-lead { font-size: 1.08rem; line-height: 1.7; color: var(--plum-soft); margin: 0; }
@media (min-width: 750px) {
  .rb-guide-hero { grid-template-columns: 1.15fr 0.85fr; padding: 32px 28px; }
  .rb-guide h2 { font-size: 1.7rem; }
}
.rb-guide-duo { display: grid; gap: 14px; margin: 18px 0; }
.rb-guide-duo img { border-radius: 12px; width: 100%; }
@media (min-width: 750px) { .rb-guide-duo { grid-template-columns: 1fr 1fr; } }
.rb-guide-table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 12px; border: 1px solid var(--border); }
.rb-guide-table { width: 100%; border-collapse: collapse; min-width: 560px; margin: 0; }
.rb-guide-table th {
  background: var(--plum-dark);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.95rem;
}
.rb-guide-table td { padding: 12px 14px; border-top: 1px solid var(--border); font-size: 0.95rem; line-height: 1.55; vertical-align: top; }
.rb-guide-table tr:nth-child(even) td { background: var(--cream); }
.rb-guide-grid { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 750px) { .rb-guide-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 990px) { .rb-guide-grid { grid-template-columns: 1fr 1fr 1fr; } }
.rb-guide-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.rb-guide-card strong { display: block; color: var(--plum-dark); font-size: 1.02rem; margin-bottom: 4px; }
.rb-guide-card p { margin: 0; font-size: 0.95rem; }
.rb-guide-steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.rb-guide-steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  line-height: 1.6;
}
.rb-guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px; top: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--plum-dark);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rb-guide-faq { margin: 16px 0; display: grid; gap: 10px; }
.rb-guide-faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 0 16px; }
.rb-guide-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--plum-dark); list-style: none; }
.rb-guide-faq summary::-webkit-details-marker { display: none; }
.rb-guide-faq summary::after { content: " +"; color: var(--plum); }
.rb-guide-faq details[open] summary::after { content: " \2212"; }
.rb-guide-faq details p { margin: 0 0 14px; }
.rb-guide-callout {
  background: var(--cream-warm);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 18px 0;
}
.rb-guide-callout p { margin: 0; }
.rb-guide-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--plum-dark);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  margin: 28px 0 8px;
}
.rb-guide-cta img { width: 96px; height: auto; border-radius: 10px; flex-shrink: 0; }
.rb-guide-cta h3 { color: #fff; margin: 0 0 6px; }
.rb-guide-cta p { margin: 0 0 12px; color: #F3E7EE; font-size: 0.95rem; }
.rb-guide-cta .rb-guide-price { font-size: 1.15rem; font-weight: 700; color: #fff; }
.rb-guide-btn {
  display: inline-block;
  background: #fff;
  color: var(--plum-dark);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
}
.rb-guide-btn:hover { text-decoration: none; opacity: 0.92; }
@media (max-width: 520px) {
  .rb-guide-cta { flex-direction: column; text-align: center; }
  .rb-guide-cta img { width: 120px; }
}
.rb-guide-fda { font-size: 0.85rem; color: var(--muted); margin-top: 28px; }

/* ============================================================
   WooCommerce
   ============================================================ */
.woocommerce .woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 20px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--plum); }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
}
.woocommerce-error { border-left-color: #B3261E; }

/* Shop grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
@media (min-width: 750px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 990px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
}
.woocommerce ul.products li.product {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  float: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}
.woocommerce ul.products li.product a img {
  margin: 0;
  width: 100%;
  height: auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plum-dark);
  padding: 14px 16px 4px;
}
.woocommerce ul.products li.product .price {
  color: var(--plum-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0 16px 14px;
}
.woocommerce ul.products li.product .price del {
  color: var(--muted);
  font-weight: 500;
  opacity: 1;
}
.woocommerce ul.products li.product .button {
  margin: 0 16px 16px;
  align-self: flex-start;
}
.woocommerce span.onsale {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  min-height: 0;
  line-height: 1.2;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 20px; }
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

/* Single product */
.woocommerce div.product div.images img { border-radius: var(--radius-lg); }
.woocommerce div.product .product_title { font-size: 1.8rem; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--plum-dark);
  font-size: 1.5rem;
  font-weight: 800;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--muted);
  font-weight: 500;
  font-size: 1.1rem;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description p {
  color: var(--body);
}
.woocommerce div.product form.cart { margin: 20px 0; }
.woocommerce div.product form.cart .button {
  padding: 14px 32px;
}
.woocommerce .quantity .qty {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 10px;
  width: 4.5em;
  background: #fff;
}
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations label {
  font-weight: 700;
  color: var(--plum-dark);
}
.woocommerce div.product form.cart .variations select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
  max-width: 320px;
}
.woocommerce div.product form.cart .reset_variations { color: var(--plum); font-size: 0.9rem; }

.rb-product-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rb-product-benefits li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  color: var(--body);
}
.rb-product-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.rb-product-guarantee {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 20px;
}
.rb-product-guarantee strong { color: var(--plum-dark); font-size: 1.05rem; }
.rb-product-guarantee p { margin: 4px 0 0; font-size: 0.93rem; }
.rb-product-fda {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 640px;
}

.woocommerce div.product .woocommerce-tabs { margin-top: 36px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
  border-radius: 0;
  margin: 0 4px 0 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--muted);
  font-weight: 700;
  padding: 10px 16px;
  display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--plum-dark);
  border-bottom: 3px solid var(--plum);
}
.woocommerce div.product .woocommerce-tabs .panel { padding: 8px 0 20px; }

.rb-product-faq { margin: 36px 0 8px; }
.rb-product-faq h2 { margin-bottom: 16px; }

/* Product-page sections (v1.0.2) — top band, rich sections, grid,
   timeline, checklist. Reuses .rb-guide-grid / .rb-guide-card /
   .rb-guide-steps / .rb-product-benefits above. */
.rb-product-band {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0 0 28px;
  text-align: center;
}
.rb-product-band h2 {
  color: var(--plum-dark);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 10px;
}
.rb-product-band p {
  color: var(--plum-soft);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}
.rb-product-band .rb-product-band-note {
  margin-top: 12px;
  font-weight: 700;
  color: var(--green);
}
@media (min-width: 750px) {
  .rb-product-band h2 { font-size: 1.8rem; }
}
.rb-product-sections { margin: 36px 0 8px; }
.rb-product-section { margin: 0 0 24px; }
.rb-product-section--warm {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
}
.rb-product-section h2 {
  color: var(--plum-dark);
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 0 10px;
}
@media (min-width: 750px) {
  .rb-product-section h2 { font-size: 1.7rem; }
}
.rb-product-section p { line-height: 1.7; }
.rb-product-section ul { line-height: 1.7; }
.rb-product-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 6px;
}

.woocommerce .related.products { margin-top: 40px; }
.woocommerce .related.products > h2 { margin-bottom: 18px; }

/* Cart + checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--cream-warm); }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-top: 1px solid var(--border); }
.woocommerce .cart-collaterals .cart_totals {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.2rem; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.woocommerce form .form-row label { font-weight: 600; color: var(--plum-dark); }
.woocommerce-checkout #payment {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--border); }
.woocommerce .woocommerce-checkout-review-order-table { background: #fff; }

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  color: var(--plum-dark);
  font-weight: 600;
  background: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { text-decoration: none; border-color: var(--plum); }

/* Widgets */
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--plum); }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .rb-hero h1 { font-size: 2rem; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.95rem; padding: 10px 12px 4px; }
  .woocommerce ul.products li.product .price { padding: 0 12px 10px; font-size: 0.95rem; }
  .woocommerce ul.products li.product .button { margin: 0 12px 12px; padding: 11px 18px; font-size: 0.9rem; }
}

/* ---------- v1.0.1: product-list header (Shopify pattern) + EMD section ---------- */
.rb-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 auto 28px; }
.rb-list-head h2 { margin: 0; }
.rb-list-head a { font-weight: 700; color: var(--plum); white-space: nowrap; }
.rb-emd { background: #fdf6ec; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 600px) {
  .rb-list-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- v1.0.3: 10% off popup (hot pink, code shown directly) ---------- */
.rb-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rb-popup[hidden] { display: none; }
.rb-popup-overlay { position: absolute; inset: 0; background: rgba(43, 10, 30, 0.7); }
.rb-popup-card { position: relative; width: 100%; max-width: 420px; padding: 28px 24px 22px; border-top: 6px solid var(--pink); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 20px 60px rgba(43, 10, 30, 0.35); text-align: center; }
.rb-popup-close { position: absolute; top: 8px; right: 12px; padding: 4px 8px; border: 0; background: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.rb-popup-eyebrow { margin: 0 0 6px; color: var(--plum); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.rb-popup-card h2 { margin: 0 0 8px; color: var(--pink); font-size: 1.6rem; line-height: 1.25; }
.rb-popup-text { margin: 0 0 16px; color: var(--body); }
.rb-popup-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; padding: 10px 12px; border: 2px dashed var(--pink); border-radius: 10px; font-weight: 700; letter-spacing: 1px; }
.rb-popup-code span { font-size: 1.15rem; }
.rb-popup-copy { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rb-popup-copy:hover { background: #d61f76; }
.rb-popup-shop { display: block; width: 100%; }
.rb-popup-dismiss { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) {
  .rb-popup-card { padding: 24px 18px 20px; }
  .rb-popup-card h2 { font-size: 1.35rem; }
}

/* ---------- v1.0.7: hide the "Package" label (user asked to remove it) ---------- */
table.variations .label { display: none; }

/* ---------- v1.0.4: variation buttons (replace the dropdown) ---------- */
.rb-vb-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important; opacity: 0; pointer-events: none; }
.rb-vb-ready .reset_variations { display: none !important; }
.rb-vb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.rb-vb-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 18px; border: 2px solid var(--plum); border-radius: 12px; background: var(--white); color: var(--plum-dark); font-weight: 700; font-size: 0.95rem; line-height: 1.3; cursor: pointer; text-align: center; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.rb-vb-btn:hover { background: var(--cream-warm); }
.rb-vb-btn.is-active { background: var(--plum); border-color: var(--plum); color: #fff; }
.rb-vb-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rb-vb-name { font-size: 0.95rem; }
.rb-vb-price { font-size: 0.85rem; font-weight: 700; }
.rb-vb-regular { font-size: 0.8rem; font-weight: 400; text-decoration: line-through; opacity: 0.75; margin-right: 4px; }
@media (max-width: 600px) {
  .rb-vb { gap: 8px; }
  .rb-vb-btn { padding: 9px 14px; font-size: 0.9rem; }
}
