/* main.css — Carpați Vital, Romania-first health and supplement layout */
:root {
  --roo-ink: #17251f;
  --roo-muted: #68766f;
  --roo-paper: #fffaf1;
  --roo-surface: #ffffff;
  --roo-forest: #24533f;
  --roo-forest-dark: #163729;
  --roo-herb: #e7f0df;
  --roo-sun: #d8a13a;
  --roo-clay: #b95636;
  --roo-blue: #244b7a;
  --roo-border: rgba(36, 83, 63, .16);
  --roo-shadow: 0 18px 45px rgba(23, 37, 31, .12);
  --roo-radius: 26px;
  --roo-radius-small: 16px;
  --roo-head-font: "Marcellus", "Cinzel Decorative", "Cormorant Upright", "Palatino Linotype", serif;
  --roo-body-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--roo-ink);
  font-family: var(--roo-body-font);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(216, 161, 58, .16), transparent 34rem),
    linear-gradient(180deg, #fffaf1 0%, #f4f0e6 44%, #eef5ed 100%);
}

a {
  color: var(--roo-forest);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--roo-clay);
}

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

h1,
h2,
h3 {
  color: var(--roo-forest-dark);
  font-family: var(--roo-head-font);
  line-height: 1.12;
  letter-spacing: .01em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.72rem, 3vw, 2.72rem);
}

h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.24rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 18px;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

.roo-container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.roo-skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: #fff;
  background: var(--roo-forest-dark);
  border-radius: 10px;
}

.roo-skip-link:focus {
  left: 12px;
}

.roo-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, .9);
  border-bottom: 1px solid var(--roo-border);
  backdrop-filter: blur(16px);
}

.roo-site-header::before {
  display: block;
  height: 7px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--roo-blue) 0 18px, #fff 18px 26px, var(--roo-clay) 26px 44px, #fff 44px 52px, var(--roo-sun) 52px 70px);
}

.roo-header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.roo-site-logo {
  color: var(--roo-forest-dark);
  font-family: var(--roo-head-font);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.roo-main-nav,
.roo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.roo-main-nav a,
.roo-footer-links a {
  color: var(--roo-ink);
  font-weight: 700;
  text-decoration: none;
}

.roo-main-nav a:hover,
.roo-footer-links a:hover {
  color: var(--roo-clay);
}

.roo-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 55, 41, .92), rgba(36, 75, 122, .82)),
    radial-gradient(circle at 85% 18%, rgba(216, 161, 58, .36), transparent 22rem),
    linear-gradient(120deg, var(--roo-forest-dark), var(--roo-forest));
}

.roo-hero::after,
.roo-product-hero::after {
  position: absolute;
  inset: auto -12% -52px auto;
  width: 460px;
  height: 150px;
  content: "";
  opacity: .26;
  transform: rotate(-7deg);
  background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .9) 18px 22px, transparent 22px 38px, rgba(216, 161, 58, .85) 38px 42px);
  border-radius: 999px;
}

.roo-hero h1,
.roo-hero p {
  max-width: 860px;
  color: #fff;
}

.roo-hero p,
.roo-lead {
  font-size: clamp(1.07rem, 1.7vw, 1.28rem);
}

.roo-shop-layout {
  padding: 58px 0 76px;
}

.roo-shop-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.roo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.roo-product-card,
.roo-related-card,
.roo-sidebar-card,
.roo-cta-box,
.roo-newlife-form {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius);
  box-shadow: var(--roo-shadow);
}

.roo-product-card {
  overflow: hidden;
}

.roo-product-image {
  display: grid;
  min-height: 245px;
  padding: 24px;
  place-items: center;
  background:
    radial-gradient(circle, rgba(231, 240, 223, .96), rgba(255, 250, 241, .7)),
    repeating-linear-gradient(135deg, rgba(36, 83, 63, .08) 0 8px, transparent 8px 18px);
}

.roo-product-image img,
.roo-product-media img,
.roo-newlife-form-pack img,
.roo-related-card__media img {
  filter: drop-shadow(0 18px 22px rgba(23, 37, 31, .18));
}

.roo-product-card__content {
  padding: 20px;
}

.roo-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 4px 12px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--roo-clay), #d77a4d);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(185, 86, 54, .25);
  z-index: 9999;
}

.roo-product-title {
  margin: 14px 0 18px;
  font-size: 1.25rem;
}

.roo-product-title a,
.roo-related-card__title a {
  color: var(--roo-forest-dark);
  text-decoration: none;
}

.roo-button,
.roo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--roo-forest), var(--roo-blue));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(36, 83, 63, .25);
  cursor: pointer;
}

.roo-button:hover,
.roo-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--roo-clay), var(--roo-forest));
}

.roo-button--large {
  min-height: 56px;
  padding-inline: 30px;
  font-size: 1.05rem;
}

.roo-cta-box .roo-button {
    background: linear-gradient(135deg, #fff3b0 0%, #ffd166 48%, #f59e0b 100%);
    color: #17352f;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 0 5px rgba(255, 255, 255, 0.12);
    text-shadow: none;
}

.roo-cta-box .roo-button:hover {
    background: linear-gradient(135deg, #fff7c7 0%, #ffdd7a 48%, #f97316 100%);
    color: #10251f;
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.34),
        0 0 0 5px rgba(255, 255, 255, 0.16);
}

.roo-cta-box .roo-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.roo-product-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 58px;
  background:
    radial-gradient(circle at 78% 14%, rgba(216, 161, 58, .28), transparent 20rem),
    linear-gradient(135deg, #fffaf1 0%, #e7f0df 100%);
}

.roo-product-hero__grid {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 34px;
  align-items: center;
}

.roo-breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--roo-muted);
  font-size: .95rem;
}

.roo-breadcrumbs a {
  color: var(--roo-forest);
  text-decoration: none;
}

.roo-product-media {
  position: relative;
  display: grid;
  padding: clamp(24px, 5vw, 42px);
  place-items: center;
  background:
    radial-gradient(circle, #fff 0%, rgba(255, 250, 241, .8) 55%, rgba(231, 240, 223, .85) 100%),
    repeating-linear-gradient(90deg, rgba(36, 75, 122, .07) 0 10px, transparent 10px 20px);
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius);
  box-shadow: var(--roo-shadow);
}

.roo-product-media .roo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
}

.roo-product-summary {
  max-width: 720px;
}

.roo-facts {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.roo-facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius-small);
}

.roo-facts dt {
  color: var(--roo-muted);
  font-weight: 900;
}

.roo-facts dd {
  margin: 0;
}

.roo-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
  padding: 56px 0 80px;
}

.roo-article-content {
  min-width: 0;
}

.roo-article-content > p,
.roo-article-content > section {
  margin-bottom: 30px;
}

.roo-article-content > section {
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius);
}

.roo-check-list {
  list-style: none;
  padding-left: 0;
}

.roo-check-list li {
  position: relative;
  padding-left: 32px;
}

.roo-check-list li::before {
  position: absolute;
  left: 0;
  top: .1em;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  content: "✓";
  background: var(--roo-forest);
  border-radius: 50%;
}

.roo-cta-box {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 55, 41, .96), rgba(36, 75, 122, .9)),
    radial-gradient(circle at top right, rgba(216, 161, 58, .35), transparent 18rem);
}

.roo-cta-box h2,
.roo-cta-box p {
  color: #fff;
}

.roo-faq h3 {
  padding-top: 16px;
  border-top: 1px solid var(--roo-border);
}

.roo-sidebar {
  position: sticky;
  top: 106px;
}

.roo-sidebar-card {
  padding: 24px;
}

.roo-sidebar-card ul {
  padding-left: 1.05rem;
}

.roo-newlife-form {
  display: grid;
  grid-template-columns: 220px 1fr 190px;
  gap: 22px;
  align-items: center;
  margin: 34px 0;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(231, 240, 223, .86)),
    repeating-linear-gradient(45deg, rgba(185, 86, 54, .08) 0 8px, transparent 8px 18px);
}

.roo-newlife-form-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

.roo-newlife-form-price {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.roo-price__old,
.roo-price__new {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius-small);
}

.roo-price__old .roo-price__number {
  color: var(--roo-muted);
  text-decoration: line-through;
}

.roo-price__new .roo-price__number {
  color: var(--roo-clay);
  font-size: 1.75rem;
}

.roo-price__title {
  display: block;
  color: var(--roo-muted);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roo-price__number {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  font-family: var(--roo-head-font);
  font-weight: 900;
}

.roo-scarcity {
  padding: 16px 18px;
  color: #fff;
  text-align: center;
  background: var(--roo-forest-dark);
  border-radius: var(--roo-radius-small);
}

.roo-scarcity__title {
  font-size: .9rem;
  font-weight: 900;
}

.roo-timer {
  font-family: var(--roo-head-font);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
}

.roo-form__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--roo-ink);
  font: inherit;
  background: #fff;
  border: 1px solid var(--roo-border);
  border-radius: 999px;
  outline: none;
}

.roo-form__input:focus {
  border-color: var(--roo-forest);
  box-shadow: 0 0 0 4px rgba(36, 83, 63, .13);
}

.roo-snoska .roo-btn {
  min-width: 190px;
  width: 100%;
}

.roo-related-products {
  margin: 42px 0 0;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--roo-border);
  border-radius: var(--roo-radius);
}

.roo-eyebrow {
  margin: 0 0 8px;
  color: var(--roo-clay);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.roo-related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.roo-related-card {
  overflow: hidden;
  box-shadow: none;
}

.roo-related-card__media {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 18px;
  place-items: center;
  background: linear-gradient(135deg, #fff, var(--roo-herb));
}

.roo-related-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.roo-related-card__body {
  padding: 18px;
}

.roo-related-card__title {
  margin: 0 0 16px;
  font-size: 1.12rem;
}

.roo-related-card__button {
  width: 100%;
  min-height: 44px;
  padding-block: 10px;
}

.roo-site-footer {
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, var(--roo-forest-dark), #10241b);
}

.roo-site-footer h2,
.roo-site-footer a,
.roo-site-footer strong {
  color: #fff;
}

.roo-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px 0 26px;
}

.roo-footer-links {
  justify-content: flex-end;
  align-content: start;
}

.roo-footer-copy {
  padding: 18px 0 24px;
  color: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 1040px) {
  .roo-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roo-content-layout {
    grid-template-columns: 1fr;
  }

  .roo-sidebar {
    position: static;
  }

  .roo-newlife-form {
    grid-template-columns: 190px 1fr;
  }

  .roo-scarcity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .roo-header-grid,
  .roo-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .roo-footer-grid {
    display: flex;
  }

  .roo-footer-links {
    justify-content: flex-start;
  }

  .roo-product-grid,
  .roo-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roo-product-hero__grid,
  .roo-newlife-form,
  .roo-newlife-form-box {
    grid-template-columns: 1fr;
  }

  .roo-facts div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .roo-container {
    width: min(100% - 24px, 1180px);
  }

  .roo-main-nav,
  .roo-footer-links {
    gap: 8px 14px;
  }

  .roo-product-grid,
  .roo-related-products__grid {
    grid-template-columns: 1fr;
  }

  .roo-hero,
  .roo-product-hero {
    padding-block: 48px;
  }

  .roo-article-content > section,
  .roo-related-products,
  .roo-newlife-form {
    border-radius: 20px;
  }
}
