
/* ======================================================================
 * A4/A5 - Checkout classic: Shipping Protection + Tip
 * ==================================================================== */

.rovina-extras {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.rovina-extras__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  min-height: 44px;
  border: 1px solid var(--rovina-border, #00000026);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.rovina-extras__row:hover {
  border-color: #a44545;
}

.rovina-extras__row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rovina-extras__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid #b9b9b9;
  border-radius: 6px;
  background: #fff;
  position: relative;
  transition: background .18s ease, border-color .18s ease;
}

.rovina-extras__row input:checked ~ .rovina-extras__box {
  background: var(--rovina-primary, #933333);
  border-color: var(--rovina-primary, #933333);
}

.rovina-extras__row input:checked ~ .rovina-extras__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rovina-extras__row input:focus-visible ~ .rovina-extras__box {
  outline: 2px solid var(--rovina-primary, #933333);
  outline-offset: 2px;
}

.rovina-extras__text {
  display: block;
  line-height: 1.45;
}

.rovina-extras__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #2b0909;
}

.rovina-extras__price {
  color: var(--rovina-primary, #933333);
  font-weight: 700;
}

.rovina-extras__desc {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #6b6b6b;
}

/* --- Tip: an, tick checkbox moi hien ---------------------------------- */
.rovina-tips {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -2px 0 2px;
}

.rovina-tips.is-open {
  display: grid;
  animation: rovina-tips-in .22s ease;
}

@keyframes rovina-tips-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.rovina-tips__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 10px 6px;
  border: 1.5px solid var(--rovina-border, #00000026);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .18s ease, background .18s ease;
}

.rovina-tips__btn:hover {
  border-color: #a44545;
}

.rovina-tips__btn.is-active {
  background: #fae5e5;
  border-color: #a44545;
}

.rovina-tips__pct {
  font-weight: 700;
  font-size: 16px;
  color: #2b0909;
}

.rovina-tips__amt {
  font-size: 13px;
  color: #6b6b6b;
}

.rovina-tips__btn.is-active .rovina-tips__amt {
  color: var(--rovina-primary, #933333);
}

@media (prefers-reduced-motion: reduce) {
  .rovina-tips.is-open { animation: none; }
}

/* ==========================================================================
   ROVINA SECTIONS
   Layout port tu tryrovina.com, mau/font giu theo brand Rovina (#933333 + Inter)
   ========================================================================== */

/* ==========================================================================
   0. HEADER (port 1:1 tryrovina: hamburger | logo giua | cart)
   ========================================================================== */
.rv-header-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid rgba(43, 43, 43, .08);
  transition: transform .3s ease;
}

/* sticky on-scroll-up: an khi cuon xuong */
.rv-header-wrap.is-up { transform: translateY(-100%); }

.rv-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 140rem;
  margin: 0 auto;
  min-height: var(--rv-header-h);
  padding: 8px 20px;
}

.rv-header__burger {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 6.5px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--rovina-dark);
}

.rv-header__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 4px;
}

.rv-header__logo {
  justify-self: center;
  display: block;
  width: 130px;
  max-width: 130px;
  line-height: 0;
}

.rv-header__logo img { width: 100%; height: auto; object-fit: contain; display: block; }

.rv-header__wordmark {
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--rovina-dark);
}

.rv-header__cart {
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--rovina-dark);
}

.rv-header__bubble {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--rovina-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

@media (max-width: 749px) {
  :root { --rv-header-h: 52px; }
  .rv-header { padding: 4px 14px; }
  .rv-header__logo { width: 120px; max-width: 120px; }
}

/* --- Drawer menu --- */
.rv-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.rv-drawer.is-open { visibility: visible; pointer-events: auto; }

.rv-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s ease;
}

.rv-drawer.is-open .rv-drawer__overlay { opacity: 1; }

.rv-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.29, .63, .44, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.rv-drawer.is-open .rv-drawer__panel { transform: translateX(0); }

.rv-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 6.6rem;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(43, 43, 43, .1);
}

.rv-drawer__title {
  font-family: var(--rovina-font-head);
  font-size: 22px;
  letter-spacing: .1em;
  color: var(--rovina-dark);
}

.rv-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7.5%;
  background: rgba(43, 43, 43, .05);
  color: var(--rovina-dark);
  cursor: pointer;
}

.rv-drawer__nav { padding: 10px 0; }
.rv-drawer__nav ul { list-style: none; margin: 0; padding: 0; }

.rv-drawer__nav a {
  display: block;
  padding: 12px 18px;
  font-size: 16px;
  color: var(--rovina-dark);
  text-decoration: none;
}

.rv-drawer__nav a:hover { color: var(--rovina-primary); }

.rv-drawer__sep {
  display: block;
  height: 1px;
  margin: 0 18px;
  background: rgba(43, 43, 43, .03);
}

body.rv-lock { overflow: hidden; }

/* ==========================================================================
   0b. SCROLL ANIMATION (port tu tryrovina: blur + fade + cascade)
   ========================================================================== */
.animate-section {
  --animation-duration: 650ms;
  --init-delay: 150ms;
  --child-delay: 150ms;
}

.animate-section.animate--hidden .animate-item {
  opacity: 0;
  filter: blur(1px);
}

.animate-section.animate--shown .animate-item {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--animation-duration) var(--init-delay),
    filter var(--animation-duration) var(--init-delay),
    transform var(--animation-duration) var(--init-delay);
}

.animate-section.animate--shown .animate-item.animate-item--child {
  transition-delay: calc(var(--init-delay) + (var(--child-delay) * var(--index, 0)));
}

@media (prefers-reduced-motion: reduce) {
  .animate-section.animate--hidden .animate-item {
    opacity: 1;
    filter: none;
  }
  .rv-header-wrap { transition: none; }
}

.rovina-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rovina-section { padding: 56px 0; }
.rovina-section--tight { padding: 32px 0; }
.rovina-section--alt { background: #faf5f5; }

.rovina-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--rovina-primary);
  text-align: center;
  margin: 0 0 10px;
}

.rovina-h2 {
  font-size: var(--rovina-h2);
  line-height: 1.15;
  text-align: center;
  margin: 0 0 12px;
  color: var(--rovina-dark);
}

.rovina-sub {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
  color: #555;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   1. TICKER (marquee)
   -------------------------------------------------------------------------- */
.rovina-ticker {
  background: var(--rovina-primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font-weight: 600;
  letter-spacing: .05em;
  font-size: 14px;
}

.rovina-ticker__track {
  display: inline-block;
  animation: rovina-scroll 28s linear infinite;
}

.rovina-ticker__track span { padding: 0 14px; }

@keyframes rovina-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .rovina-ticker__track { animation: none; }
}

.rovina-ticker--light {
  background: var(--rovina-dark);
}

/* Ticker trang tren trang san pham - y het tryrovina. */
.rovina-ticker--plain {
  background: #fff;
  color: #2e2a39;
  border-bottom: 1px solid rgba(43, 43, 43, .08);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  padding: 16px 0;
}

.rovina-ticker--plain .rovina-ticker__track { animation-duration: 50s; }

@media (max-width: 749px) {
  .rovina-ticker--plain { font-size: 16px; padding: 12px 0; }
}

/* ==========================================================================
   PDP: rating bar / icon list / why-trust / accordion
   ========================================================================== */
.rovina-rate {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
  font-size: 14px;
  color: #2b2b2b;
}

.rovina-rate__stars { color: #ffcc00; font-size: 17px; letter-spacing: 1px; }
.rovina-rate__half { opacity: .45; }
.rovina-rate__label strong { font-weight: 700; }

.rovina-iconlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin: 14px 0 18px;
}

.rovina-iconlist__item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  color: #000;
  line-height: 1.3;
}

.rovina-iconlist__item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 749px) {
  .rovina-iconlist { gap: 5px 12px; }
  .rovina-iconlist__item { font-size: 13px; gap: 7px; }
  .rovina-iconlist__item img { width: 26px; height: 26px; }
}

.rovina-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.rovina-why__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--rovina-border);
  border-radius: var(--rovina-radius-card);
  font-weight: 600;
  font-size: 15px;
  color: var(--rovina-dark);
}

.rovina-why__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rovina-primary);
  color: #fff;
  font-size: 13px;
}

.rovina-acc { max-width: 900px; margin: 0 auto; }

.rovina-acc__item {
  border-bottom: 1px solid var(--rovina-border);
}

.rovina-acc__q {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  font-family: var(--rovina-font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--rovina-dark);
  cursor: pointer;
  list-style: none;
}

.rovina-acc__q::-webkit-details-marker { display: none; }

.rovina-acc__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--rovina-primary);
  line-height: 1;
}

.rovina-acc__item[open] > .rovina-acc__q::after { content: "\2212"; }

.rovina-acc__a { padding: 0 0 20px; color: #444; line-height: 1.7; }
.rovina-acc__a p { margin: 0 0 12px; }
.rovina-acc__a ul { margin: 0 0 12px; padding-left: 20px; }
.rovina-acc__a li { margin-bottom: 6px; }

@media (max-width: 749px) {
  .rovina-acc__q { font-size: 16px; padding: 15px 34px 15px 0; }
  .rovina-acc__a { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   2. BUNDLE SELECTOR
   -------------------------------------------------------------------------- */
.rovina-bundles {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.rovina-bundles__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.rovina-bundle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rv-bundle-border);
  border-radius: var(--rv-bundle-radius);
  padding: 14px 16px;
  cursor: pointer;
  background: var(--rv-bundle-bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.rovina-bundle:hover { box-shadow: 0 2px 10px rgba(147, 51, 51, .12); }

.rovina-bundle.is-active {
  border-width: 2px;
  background: var(--rv-bundle-sel);
}

.rovina-bundle input {
  accent-color: var(--rovina-primary);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
}

.rovina-bundle__main { flex: 1; min-width: 0; }

.rovina-bundle__title {
  display: block;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: #000;
}

.rovina-bundle__sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  margin-top: 2px;
}

.rovina-bundle__price { text-align: right; white-space: nowrap; }

.rovina-bundle__now {
  display: block;
  font-weight: 700;
  font-size: 19px;
  color: #000;
}

.rovina-bundle__was {
  display: block;
  font-size: 14px;
  color: #555;
  text-decoration: line-through;
}

.rovina-bundle__badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--rv-badge-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: var(--rovina-radius-badge);
}

/* Nhay nhe khi bam nut sticky ATC. */
@keyframes rovina-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(147, 51, 51, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(147, 51, 51, .18); }
}

.rovina-bundles.rovina-pulse { animation: rovina-pulse .9s ease; border-radius: 12px; }

.rovina-cart-deal { color: var(--rovina-primary); font-weight: 600; }

@media (max-width: 560px) {
  .rovina-bundle { padding: 12px; gap: 10px; }
  .rovina-bundle__title { font-size: 16px; }
  .rovina-bundle__sub { font-size: 12px; }
  .rovina-bundle__now { font-size: 17px; }
  .rovina-bundle__was { font-size: 13px; }
  .rovina-bundle__badge { font-size: 11px; padding: 3px 9px; right: 10px; }
}

/* --------------------------------------------------------------------------
   3. TRUST BADGE ROW
   -------------------------------------------------------------------------- */
.rovina-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 20px 0;
}

.rovina-trust__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.rovina-trust__item::before {
  content: "\2713";
  color: var(--rovina-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. COLUMNS (3 cot / 4 icon)
   -------------------------------------------------------------------------- */
.rovina-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.rovina-col {
  background: #fff;
  border: 1px solid var(--rovina-border);
  border-radius: var(--rovina-radius-card);
  padding: 26px 22px;
  text-align: center;
}

.rovina-col img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.rovina-col h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--rovina-dark);
}

.rovina-col p { margin: 0; color: #555; font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   5. TIMELINE
   -------------------------------------------------------------------------- */
.rovina-timeline { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }

.rovina-tl {
  position: relative;
  border-left: 3px solid var(--rovina-primary);
  padding: 0 0 8px 26px;
}

.rovina-tl::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--rovina-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--rovina-primary);
}

.rovina-tl__week {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rovina-primary);
}

.rovina-tl__title {
  font-size: 21px;
  font-weight: 700;
  margin: 3px 0 10px;
  color: var(--rovina-dark);
}

.rovina-tl ul { margin: 0; padding-left: 20px; color: #555; line-height: 1.75; }

/* --------------------------------------------------------------------------
   6. CONTENT TABS
   -------------------------------------------------------------------------- */
.rovina-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
}

.rovina-tabs__btn {
  border: 2px solid var(--rovina-border);
  background: #fff;
  border-radius: var(--rovina-radius-badge);
  padding: 9px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: #555;
  transition: all .2s;
  font-family: inherit;
}

.rovina-tabs__btn.is-active,
.rovina-tabs__btn:hover {
  background: var(--rovina-primary);
  border-color: var(--rovina-primary);
  color: #fff;
}

.rovina-tabs__panel { display: none; max-width: 820px; margin: 0 auto; line-height: 1.75; color: #444; }
.rovina-tabs__panel.is-active { display: block; }
.rovina-tabs__panel h3 { color: var(--rovina-dark); margin-top: 0; }
.rovina-tabs__panel ul { line-height: 2; }

.rovina-stat {
  display: inline-block;
  background: var(--rovina-primary);
  color: #fff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--rovina-radius-badge);
  margin-right: 6px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   7. COMPARISON TABLE
   -------------------------------------------------------------------------- */
.rovina-compare-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }

.rovina-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rovina-border);
  border-radius: var(--rovina-radius-card);
  overflow: hidden;
  background: #fff;
}

.rovina-compare th,
.rovina-compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--rovina-border);
  text-align: left;
  font-size: 15px;
}

.rovina-compare thead th { background: var(--rovina-dark); color: #fff; font-size: 16px; }
.rovina-compare thead th:nth-child(2) { background: var(--rovina-primary); }
.rovina-compare tbody tr:last-child td { border-bottom: none; }
.rovina-compare td.is-us { color: var(--rovina-primary); font-weight: 600; }
.rovina-compare td.is-them { color: #999; }
.rovina-compare .tick { color: var(--rovina-primary); font-weight: 700; }
.rovina-compare .cross { color: #c0392b; font-weight: 700; }

/* --------------------------------------------------------------------------
   8. TESTIMONIALS
   -------------------------------------------------------------------------- */
.rovina-testis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.rovina-testi {
  background: #fff;
  border: 1px solid var(--rovina-border);
  border-radius: var(--rovina-radius-card);
  padding: 22px;
}

.rovina-testi__stars { color: #f5a623; margin-bottom: 9px; letter-spacing: 2px; }
.rovina-testi__text { color: #444; line-height: 1.65; margin: 0 0 12px; font-size: 15px; }
.rovina-testi__who { font-weight: 700; color: var(--rovina-dark); font-size: 14px; }

.rovina-disclaimer {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   9. VIDEO WALL
   -------------------------------------------------------------------------- */
.rovina-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.rovina-videos video {
  width: 100%;
  border-radius: var(--rovina-radius-card);
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   10. CTA
   -------------------------------------------------------------------------- */
.rovina-cta { text-align: center; margin-top: 30px; }

.rovina-cta__btn {
  display: inline-block;
  background: var(--rovina-primary);
  color: #fff !important;
  border-radius: var(--rovina-radius-button);
  padding: 15px 42px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background .25s;
}

.rovina-cta__btn:hover { background: var(--rovina-primary-dark); }
.rovina-cta__note { font-size: 13px; color: #777; margin-top: 10px; }

@media (max-width: 768px) {
  .rovina-section { padding: 38px 0; }
  .rovina-compare th, .rovina-compare td { padding: 11px 12px; font-size: 14px; }
}

/* ==========================================================================
   HOMEPAGE - port 1:1 tu tryrovina
   ========================================================================== */

/* --- 1. Hero banner --- */
.rovina-hero {
  background: linear-gradient(178deg, #933333 12%, #c26969 82%);
  color: #fff;
  overflow: hidden;
}

.rovina-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.rovina-hero__media img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}

.rovina-hero__title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
  margin: 0 0 28px;
}

.rovina-hero__btn {
  display: inline-block;
  background: #fff;
  color: #933333;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 44px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.rovina-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  color: #933333;
}

.rovina-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .95);
}

.rovina-hero__ico { font-size: 18px; line-height: 1; }

/* Mobile: text truoc, anh sau - y het tryrovina (desktop-hidden/mobile-hidden). */
@media (max-width: 860px) {
  .rovina-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 20px 40px;
    text-align: center;
  }
  /* tryrovina mobile: heading + CTA len truoc, anh xuong duoi. */
  .rovina-hero__media { order: 2; }
  .rovina-hero__body { order: 1; }
  .rovina-hero__note { justify-content: center; }
  .rovina-hero__title { font-size: clamp(26px, 7vw, 36px); }
  .rovina-hero__btn { width: 100%; max-width: 340px; }
}

/* --- 2. USP bar - spec px y het tryrovina --- */
.rovina-uspbar {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 43px;
  max-width: 1233px;
  margin: 0 auto;
  padding: 17px 20px 16px;
}

/* Dai mau chay het chieu ngang man hinh. */
.rovina-uspbar::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 100%;
  background: var(--rovina-primary);
  z-index: -1;
}

.rovina-uspbar {
  position: relative;
  z-index: 0;
  background: var(--rovina-primary);
}

.rovina-uspbar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  padding: 7px 18px;
  border: 1.3px solid #fff;
  border-radius: 6.9px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.rovina-uspbar__check {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .rovina-uspbar { gap: 6px; padding: 10px 12px; }
  .rovina-uspbar__item {
    padding: 7px 8px 9px 5px;
    border-radius: 5.05px;
    font-size: 9px;
    text-align: left;
    justify-content: flex-start;
    gap: 5px;
  }
  .rovina-uspbar__check { font-size: 13px; }
}

/* --- 3. Testimonial slider --- */
.rovina-slider { position: relative; padding: 0 44px; }

.rovina-slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 16px;
  scrollbar-width: none;
}

.rovina-slider__track::-webkit-scrollbar { display: none; }

.rovina-slide {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #ecdede;
  border-radius: 14px;
  padding: 24px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(147, 51, 51, .05);
}

.rovina-slide__stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; }

.rovina-slide__text {
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  flex: 1;
}

.rovina-slide__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--rovina-dark);
}

.rovina-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2cccc;
  background: #fff;
  color: var(--rovina-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .15s ease, color .15s ease;
}

.rovina-slider__nav:hover { background: var(--rovina-primary); color: #fff; }
.rovina-slider__nav--prev { left: 0; }
.rovina-slider__nav--next { right: 0; }

/* Breakpoint y het Swiper cua tryrovina: 3 / 2 / 1.2 slidesPerView. */
@media (max-width: 1023px) {
  .rovina-slide { flex-basis: calc(50% - 10px); }
}

@media (max-width: 767px) {
  .rovina-slider { padding: 0 8px; }
  /* slidesPerView 1.2 + centeredSlides */
  .rovina-slide { flex-basis: calc(83.333% - 20px); padding: 20px 18px; }
  .rovina-slider__track {
    scroll-padding-left: 8.33%;
    padding-left: 8.33%;
    padding-right: 8.33%;
    scroll-snap-type: x mandatory;
  }
  .rovina-slide { scroll-snap-align: center; }
  .rovina-slider__nav { display: none; }
}

.rovina-slider__track.is-grab { cursor: grabbing; scroll-behavior: auto; }
.rovina-slider__track { cursor: grab; }

/* --- 4. Changing lives (before/after) --- */
.rovina-lives {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.rovina-lives__item { margin: 0; }

.rovina-lives__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 680px) {
  .rovina-lives { grid-template-columns: 1fr; gap: 16px; }
}

/* --- 5. Built on Research (3 cot) --- */
.rovina-res3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 8px;
}

.rovina-res3__col { text-align: center; }

.rovina-res3__img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 1 / 1;
  background: #f4ecec;
}

.rovina-res3__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rovina-res3__title {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--rovina-dark);
}

.rovina-res3__text {
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

@media (max-width: 860px) {
  .rovina-res3 { grid-template-columns: 1fr; gap: 26px; }
  .rovina-res3__img { max-width: 320px; margin-inline: auto; margin-bottom: 14px; }
}

/* --- 6. Icon bar cuoi trang --- */
.rovina-iconbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.rovina-iconbar__item { text-align: center; }

.rovina-iconbar__ico { font-size: 30px; line-height: 1; margin-bottom: 12px; }

.rovina-iconbar__title {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--rovina-dark);
}

.rovina-iconbar__text {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.rovina-iconbar__text a { color: var(--rovina-primary); font-weight: 600; }

@media (max-width: 860px) {
  .rovina-iconbar { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================================
   FOOTER - port 1:1 tu tryrovina
   ========================================================================== */
.rovina-footer {
  background: #2b2b2b;
  color: #d8d2d2;
  font-size: 14px;
  line-height: 1.7;
  padding: 52px 20px 28px;
  margin-top: 0;
}

.rovina-footer a { color: #d8d2d2; text-decoration: none; }
.rovina-footer a:hover { color: #fff; text-decoration: underline; }

.rovina-footer__main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1.4fr;
  gap: 36px;
}

.rovina-footer__logo { max-width: 150px; height: auto; display: block; }

.rovina-footer__wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #fff;
}

.rovina-footer__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: .02em;
}

.rovina-footer__col ul { list-style: none; margin: 0; padding: 0; }
.rovina-footer__col li { margin-bottom: 9px; }

.rovina-footer__news p { margin: 0 0 14px; color: #b9b1b1; }

.rovina-news { display: flex; gap: 8px; flex-wrap: wrap; }

.rovina-news input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #4a4444;
  border-radius: 6px;
  background: #1f1f1f;
  color: #fff;
  font-size: 14px;
}

.rovina-news input::placeholder { color: #8a8181; }

.rovina-news button {
  padding: 11px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--rovina-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity .15s ease;
}

.rovina-news button:hover { opacity: .88; }

.rovina-footer__legal {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 1px solid #3d3737;
  font-size: 12.5px;
  line-height: 1.7;
  color: #a79f9f;
}

.rovina-footer__legal p { margin: 0 0 10px; }

.rovina-footer__contact {
  max-width: 1200px;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  font-size: 13.5px;
  color: #c8c1c1;
}

.rovina-footer__contact strong { color: #fff; }

.rovina-footer__pay {
  max-width: 1200px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rovina-pay {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid #4a4444;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #cfc8c8;
  background: #333;
}

.rovina-footer__bottom {
  max-width: 1200px;
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid #3d3737;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #9d9595;
}

.rovina-footer__bottom p { margin: 0; }

.rovina-footer__bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

@media (max-width: 980px) {
  .rovina-footer__main { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .rovina-footer { padding: 38px 18px 24px; }
  .rovina-footer__main { grid-template-columns: 1fr; gap: 26px; }
  .rovina-footer__bottom { justify-content: flex-start; }
}

/* Khoi review dat gan cuoi trang san pham.
   Giao dien (ke ca nen hong nhat cua .rovina-reviews) nam o reviews.css -
   file do chi nap tren trang san pham. O day chi an tieu de mac dinh cua
   WooCommerce phong khi fallback comments_template() duoc dung. */
.rovina-reviews #reviews { max-width: 1000px; margin: 0 auto; }
.rovina-reviews .woocommerce-Reviews-title { display: none; }

/* ==========================================================================
   CRO
   ========================================================================== */

/* --- Sticky add to cart --- */
.rovina-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid #e8dada;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .1);
  transform: translateY(105%);
  transition: transform .25s ease;
}

.rovina-sticky.is-on { transform: translateY(0); }

.rovina-sticky__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rovina-sticky__img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.rovina-sticky__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.rovina-sticky__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--rovina-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rovina-sticky__price { font-size: 14px; color: var(--rovina-primary); font-weight: 700; }
.rovina-sticky__price del { color: #999; font-weight: 400; margin-right: 5px; }

.rovina-sticky__btn {
  flex: 0 0 auto;
  background: var(--rovina-primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity .15s ease;
}

.rovina-sticky__btn:hover { opacity: .9; }

@media (max-width: 560px) {
  .rovina-sticky__img { display: none; }
  .rovina-sticky__btn { padding: 12px 20px; }
}

/* --- Free shipping progress --- */
.rovina-ship {
  background: #faf5f5;
  border: 1px solid #ecdede;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: #4a4141;
}

.rovina-ship p { margin: 0 0 10px; }
.rovina-ship strong { color: var(--rovina-primary); }

.rovina-ship__bar {
  height: 7px;
  background: #ecdede;
  border-radius: 99px;
  overflow: hidden;
}

.rovina-ship__bar span {
  display: block;
  height: 100%;
  background: var(--rovina-primary);
  border-radius: 99px;
  transition: width .3s ease;
}

.rovina-ship--done {
  border-color: #bcd9bc;
  background: #f1f8f1;
  color: #2f6b2f;
  font-weight: 600;
}

.rovina-ship--done strong { color: #2f6b2f; }

/* --- Payment badges duoi nut mua --- */
.rovina-paybadges { margin: 18px 0 4px; }

.rovina-paybadges__label {
  display: block;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8a8080;
  margin-bottom: 8px;
}

.rovina-paybadges__row { display: flex; flex-wrap: wrap; gap: 7px; }

.rovina-paybadges .rovina-pay {
  background: #fff;
  border: 1px solid #e2d5d5;
  color: #6b5f5f;
}

/* --- Scroll to top --- */
.rovina-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 998;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e2cccc;
  background: #fff;
  color: var(--rovina-primary);
  font-size: 19px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, background .15s ease, color .15s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
}

.rovina-top.is-on { opacity: 1; pointer-events: auto; }
.rovina-top:hover { background: var(--rovina-primary); color: #fff; }

/* ==========================================================================
   MOBILE - toi uu ky (uu tien cao nhat)
   ========================================================================== */

/* Sticky ATC tranh thanh home cua iPhone. */
.rovina-sticky__inner {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 749px) {
  /* Khoang cach section gon hon. */
  .rovina-section { padding: 36px 0; }
  .rovina-section--tight { padding: 22px 0; }
  .rovina-wrap { padding: 0 16px; }

  .rovina-h2 { font-size: clamp(22px, 6.2vw, 28px); }
  .rovina-sub { font-size: 15px; margin-bottom: 24px; }

  /* Gallery full-bleed, bo bo goc - y het tryrovina. */
  .woocommerce div.product div.images,
  .woocommerce div.product .ct-product-gallery-container {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: none;
  }

  .woocommerce div.product div.images img { border-radius: 0; }

  /* Tap target >= 44px. */
  .rovina-bundle,
  .rovina-acc__q,
  .rovina-faq__q,
  .rovina-tabs__btn,
  .rv-drawer__nav a { min-height: 44px; }

  /* Nut mua to, de bam. */
  .woocommerce div.product form.cart .button,
  .single_add_to_cart_button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  /* Bang so sanh: keo ngang muot + goi y co the cuon. */
  .rovina-compare-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    background:
      linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left / 28px 100% no-repeat,
      linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right / 28px 100% no-repeat;
  }

  .rovina-compare { min-width: 520px; font-size: 14px; }
  .rovina-compare th, .rovina-compare td { padding: 11px 12px; }

  /* Cot khong bi be. */
  .rovina-cols { grid-template-columns: 1fr; gap: 16px; }
  .rovina-col { padding: 20px 18px; }

  /* Timeline thu gon. */
  .rovina-tl { padding-left: 20px; }
  .rovina-tl__title { font-size: 18px; }
  .rovina-tl ul { font-size: 15px; padding-left: 18px; }

  /* Why trust 1 cot. */
  .rovina-why { grid-template-columns: 1fr; gap: 10px; }
  .rovina-why__item { padding: 12px 14px; font-size: 14px; }

  /* Tabs cuon ngang thay vi xuong dong lon xon. */
  .rovina-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .rovina-tabs__nav::-webkit-scrollbar { display: none; }
  .rovina-tabs__btn { white-space: nowrap; flex: 0 0 auto; }

  /* Scroll-top khong de len sticky ATC. */
  .rovina-top {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }

  /* Anh khong tran man hinh. */
  .rovina-lives img,
  .rovina-res3__img img,
  .rovina-videos video { max-width: 100%; height: auto; }

  .rovina-videos { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 400px) {
  .rovina-videos { grid-template-columns: 1fr; }
  .rovina-bundle__title { font-size: 15px; }
  .rovina-bundle__now { font-size: 16px; }
}

/* ======================================================================
   Trang policy / thong tin (.rovina-page)
   ====================================================================== */
.rovina-page {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--rovina-foreground);
}

.rovina-page > h2:first-child { margin-top: 0; }

.rovina-page h3 {
  margin: 34px 0 12px;
  font-family: var(--rovina-font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--rovina-dark);
}

.rovina-page p { margin: 0 0 16px; }

.rovina-page ul,
.rovina-page ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.rovina-page li { margin-bottom: 9px; }

.rovina-page a {
  color: var(--rovina-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rovina-page a:hover { color: var(--rovina-primary-dark); }

/* Dong "Last updated" */
.rovina-page > p:first-of-type em {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(43, 9, 9, 0.55);
  font-style: normal;
}

/* Bang gia ship trong Shipping Policy */
.rovina-table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 15px;
}

.rovina-table th,
.rovina-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--rovina-border);
  vertical-align: top;
}

.rovina-table th {
  font-weight: 700;
  color: var(--rovina-dark);
  background: rgba(147, 51, 51, 0.06);
}

.rovina-table tbody tr:nth-child(even) td { background: rgba(43, 9, 9, 0.02); }

@media (max-width: 600px) {
  .rovina-page { font-size: 15.5px; }
  .rovina-page h3 { font-size: 18px; margin-top: 28px; }

  /* Bang cuon ngang thay vi vo layout tren dien thoai. */
  .rovina-table { display: block; overflow-x: auto; white-space: nowrap; }
  .rovina-table th,
  .rovina-table td { padding: 10px 12px; font-size: 14px; }
}
