:root {
  --r-ink: #111310;
  --r-green: #064e3b;
  --r-green-dark: #052d24;
  --r-gold: #d6b46a;
  --r-ivory: #fbf8f2;
  --r-cream: #f4eee4;
  --r-line: #ddd3c4;
  --r-muted: #68655f;
  --r-serif: Georgia, "Times New Roman", serif;
  --r-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--r-ink); background: var(--r-ivory); font: 16px/1.6 var(--r-sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.r-app { min-height: 100vh; background: #fcfaf6; }
.r-icon { display: inline-block; flex: none; vertical-align: middle; }

.r-promo {
  height: 34px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e8cf98;
  background: #080a09;
  border-bottom: 1px solid rgba(214,180,106,.28);
  font-size: 15px;
}

.r-header {
  height: 78px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 30px;
  color: #f9f6ef;
  background: #0b0e0d;
  border-bottom: 1px solid rgba(214,180,106,.24);
  position: sticky;
  top: 0;
  z-index: 50;
}

.r-header.is-light {
  color: #151715;
  background: rgba(253,251,247,.97);
  border-color: var(--r-line);
  box-shadow: 0 2px 12px rgba(25,20,13,.04);
}

.r-logo { width: fit-content; color: var(--r-gold); text-align: center; letter-spacing: .18em; line-height: 1; }
.r-logo span { display: block; font: 24px/1 var(--r-serif); }
.r-logo small { display: block; margin-top: 6px; font: 11px/1 var(--r-sans); letter-spacing: .46em; padding-left: .46em; }
.r-header.is-light .r-logo { color: #24251f; }
.r-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.8vw, 28px); font-size: 15px; white-space: nowrap; }
.r-header nav a { padding: 26px 0 23px; border-bottom: 2px solid transparent; }
.r-header nav a:hover { color: var(--r-gold); border-color: var(--r-gold); }
.r-actions { display: flex; align-items: center; gap: 16px; }
.r-actions > a { display: grid; place-items: center; gap: 2px; min-width: 35px; font-size: 12px; white-space: nowrap; }
.r-actions > a:hover { color: var(--r-gold); }
.r-menu { display: none !important; }

.r-button {
  min-height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--r-ink);
  color: var(--r-ink);
  background: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: filter .2s ease, transform .2s ease;
}
.r-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.r-button.gold { border-color: var(--r-gold); background: var(--r-gold); }
.r-button.green { border-color: var(--r-green); color: white; background: var(--r-green); }
.r-button.ghost { border-color: rgba(255,255,255,.7); color: white; background: rgba(0,0,0,.1); }
.r-button.outline { border-color: #bd9a5e; color: #9b763c; background: transparent; }
.r-button.full { width: 100%; }

.r-hero {
  min-height: 415px;
  padding: 55px 8vw;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(3,16,13,.9), rgba(3,16,13,.18) 68%),
    url("/images/ref-hero-pendant.webp") center/cover no-repeat;
}
.r-hero > div { width: 450px; }
.r-hero h1 { margin: 0 0 17px; font: 48px/1.08 var(--r-serif); letter-spacing: -.025em; }
.r-hero p { max-width: 390px; margin: 0 0 25px; color: #f0ede6; font-size: 19px; }
.r-hero .r-button + .r-button { margin-left: 12px; }

.r-benefits {
  min-height: 72px;
  padding: 10px 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #f3eee4;
  background: #111513;
  border-top: 1px solid #826f43;
  border-bottom: 1px solid #826f43;
}
.r-benefits > div { display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid #3b3e38; }
.r-benefits > div:last-child { border-right: 0; }
.r-benefits .r-icon { color: var(--r-gold); }
.r-benefits span, .r-benefits small { display: block; }
.r-benefits b { display: block; font-size: 16px; font-weight: 500; }
.r-benefits small { margin-top: 2px; color: #aaa79f; font-size: 14px; }
.r-benefits.is-compact { margin-top: 26px; color: #4b473f; background: #f7f2e9; border-color: var(--r-line); }
.r-benefits.is-compact > div { border-color: var(--r-line); }
.r-benefits.is-compact small { color: var(--r-muted); }

.r-section { padding: 30px 4vw 38px; }
.r-section-title { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; }
.r-section-title h2 { margin: 0; font: 25px/1 var(--r-serif); font-weight: 400; }
.r-section-title a { color: #9d773e; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.r-categories-section { padding-top: 25px; padding-bottom: 27px; }
.r-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.r-category {
  min-height: 185px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  background-position: center;
  background-size: cover;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.r-category:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(26,20,12,.16); }
.r-category h3 { margin: 0; font: 20px/1.1 var(--r-serif); font-weight: 400; }
.r-category span { margin-top: 3px; font-size: 15px; }
.r-home-products { padding-top: 20px; border-top: 1px solid #ebe3d7; }

.r-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.r-product-grid.is-dense { grid-template-columns: repeat(5, 1fr); }
.r-product { min-width: 0; background: #fffdfa; border: 1px solid #e2dbcf; border-radius: 4px; cursor: pointer; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.r-product:hover { box-shadow: 0 11px 28px rgba(24,20,14,.1); transform: translateY(-2px); }
.r-product-image { position: relative; aspect-ratio: 1.16/1; overflow: hidden; background: #f8f2e8; }
.r-product-image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .35s ease; }
.r-product:hover .r-product-image img { transform: scale(1.035); }
.r-product-copy { padding: 11px 12px 13px; position: relative; }
.r-product-copy h3 { min-height: 29px; margin: 0 0 4px; font: 14px/1.15 var(--r-serif); font-weight: 500; }
.r-product-copy small { min-height: 28px; display: block; color: var(--r-muted); font-size: 14px; }
.r-product-copy > b { display: block; margin-top: 5px; font: 15px var(--r-serif); font-weight: 400; }
.r-favorite { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; position: absolute; top: 7px; right: 7px; z-index: 2; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); cursor: pointer; }
.r-favorite:hover { color: var(--r-green); }
.r-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 5px 9px; color: #fff; background: var(--r-green); font-size: 11px; text-transform: uppercase; }
.r-product.is-dense .r-product-copy h3 { font-size: 18px; }
.r-mini-cart { position: absolute; right: 9px; bottom: 10px; border: 0; color: var(--r-green); background: none; font-size: 14px; cursor: pointer; }

.r-catalog-page { padding: 30px 4vw 45px; }
.r-catalog-heading { margin-bottom: 15px; display: grid; grid-template-columns: auto auto 1fr 230px; align-items: center; gap: 22px; }
.r-catalog-heading h1 { margin: 0; font: 38px/1 var(--r-serif); font-weight: 400; }
.r-catalog-heading > span { font: 15px var(--r-serif); }
.r-catalog-heading input { width: 210px; justify-self: end; padding: 12px 16px; border: 1px solid var(--r-line); background: #fff; }
.r-catalog-heading select { padding: 12px 16px; border: 1px solid var(--r-line); background: white; }
.r-catalog-layout { display: grid; grid-template-columns: 205px 1fr; gap: 20px; }
.r-filters { padding-right: 10px; }
.r-filter-heading { padding-bottom: 13px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--r-line); }
.r-filter-heading b { font: 15px var(--r-serif); }
.r-filter-heading button { padding: 0; border: 0; color: #a37836; background: none; font-size: 14px; text-decoration: underline; cursor: pointer; }
.r-filter { padding: 13px 0; border-bottom: 1px solid var(--r-line); }
.r-filter > b { margin-bottom: 8px; display: flex; justify-content: space-between; font-size: 15px; }
.r-filter label { margin: 5px 0; display: block; color: #4f4e49; font-size: 14px; }
.r-filter input { accent-color: var(--r-green); }
.r-range { width: 100%; }
.r-range-values { display: flex; justify-content: space-between; font-size: 12px; }
.r-catalog-layout .r-product-grid { grid-template-columns: repeat(4, 1fr); }

.r-ring-hero { min-height: 300px; display: grid; grid-template-columns: 1fr 1.15fr; background: #f6efe5; }
.r-ring-hero > div { padding: 25px 6vw; align-self: center; }
.r-ring-hero > img { width: 100%; height: 300px; display: block; object-fit: cover; object-position: center 68%; }
.r-ring-hero small { color: #777169; font-size: 14px; }
.r-ring-hero h1 { margin: 18px 0 8px; font: 36px/1 var(--r-serif); font-weight: 400; }
.r-ring-hero p { color: #544f49; }
.r-ring-hero ul { margin: 15px 0 0; padding: 0; display: grid; gap: 7px; list-style: none; font-size: 14px; }
.r-ring-hero li { display: flex; align-items: center; gap: 8px; }
.r-rings-list { padding-top: 16px; }
.r-chip-row { margin-bottom: 17px; display: flex; gap: 11px; }
.r-chip-row button { min-width: 130px; padding: 12px 16px; border: 1px solid var(--r-line); background: white; text-align: left; cursor: pointer; font-size: 14px; }
.r-chip-row .active { color: white; background: var(--r-ink); }
.r-chip-row .push { margin-left: auto; min-width: 210px; }
.r-rings-list > .r-product-grid { grid-template-columns: repeat(4, 1fr); }

.r-offers { min-height: 360px; padding: 18px 4vw; display: grid; grid-template-columns: 2.1fr 1fr 1fr; gap: 13px; color: #17150f; background: #062f25; }
.r-offers article { min-height: 320px; border-radius: 5px; overflow: hidden; }
.r-offer-main { padding: 30px; color: #f7e8c7; background: linear-gradient(90deg, rgba(3,24,18,.7), transparent), url("/images/ref-offers-emerald.webp") center/cover; }
.r-offer-main > div { width: 180px; padding: 20px; border: 1px solid rgba(214,180,106,.4); background: rgba(8,27,21,.3); }
.r-offer-main span { display: inline-block; font: 18px var(--r-serif); }
.r-offer-main strong { display: inline-block; font: 64px/1 var(--r-serif); font-weight: 400; }
.r-offer-main sup { font-size: 32px; }
.r-offer-main p { margin: 6px 0 20px; font-size: 15px; }
.r-offer-small { padding: 25px; display: flex; flex-direction: column; background-color: #eedfcf; background-position: right bottom; background-size: 80%; background-repeat: no-repeat; }
.r-offer-small.bands { background-image: linear-gradient(90deg, #ead8c4 0 31%, rgba(234,216,196,.78) 40%, transparent 58%), url("/images/catalog-eternity-ring.webp"); background-size: auto, 105%; }
.r-offer-small.necklace { background-image: linear-gradient(90deg, #f4e9db 0 31%, rgba(244,233,219,.78) 40%, transparent 58%), url("/images/catalog-circle-pendant.webp"); background-size: auto, 105%; }
.r-offer-small h2 { margin: 0 0 30px; font: 27px/1.05 var(--r-serif); font-weight: 400; }
.r-offer-small > b { font: 31px/1 var(--r-serif); font-weight: 400; }
.r-offer-small b small { font-size: 18px; }
.r-offer-small > span { font-size: 14px; }
.r-offer-small a { margin-top: auto; font-size: 14px; }
.r-new-products .r-product-grid { grid-template-columns: repeat(5, 1fr); }

.r-detail { min-height: 620px; padding: 20px 3vw 0; display: grid; grid-template-columns: 78px minmax(390px, 1.2fr) minmax(390px, .95fr); gap: 16px 22px; background: #fffdfa; }
.r-thumbs { display: grid; align-content: start; gap: 9px; }
.r-thumbs button { aspect-ratio: 1; padding: 0; border: 1px solid var(--r-line); background: #f6efe5; cursor: pointer; overflow: hidden; }
.r-thumbs button:first-child { border-color: var(--r-gold); }
.r-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.r-detail-image { min-height: 520px; background: #f7efe4; }
.r-detail-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.r-detail-copy { padding: 8px 0 20px; }
.r-detail-copy > small { color: #79736b; font-size: 14px; }
.r-detail-copy h1 { margin: 15px 0 3px; font: 32px/1.1 var(--r-serif); font-weight: 400; }
.r-detail-price { margin: 0 0 5px; font: 25px var(--r-serif); }
.r-detail-copy > p:not(.r-detail-price):not(.r-cert) { color: var(--r-muted); }
.r-detail-copy hr { margin: 15px 0; border: 0; border-top: 1px solid var(--r-line); }
.r-detail-copy h3 { display: flex; align-items: center; gap: 7px; font: 16px var(--r-serif); }
.r-detail-copy label { margin: 12px 0 5px; display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.r-detail-copy label a { color: #a47b3c; font-weight: 400; }
.r-option-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r-option-row button, .r-detail-copy select, .r-detail-copy input { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--r-line); background: white; font-size: 14px; }
.r-option-row .selected { border-color: var(--r-green); color: var(--r-green); background: #f0f8f5; }
.r-cert { display: flex; align-items: center; gap: 7px; color: var(--r-green); font-size: 15px; font-weight: 700; }
.r-buy-row { margin-top: 12px; padding-top: 12px; display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 18px; border-top: 1px solid var(--r-line); }
.r-buy-row > b { font: 25px var(--r-serif); font-weight: 400; }
.r-detail-trust { grid-column: 1 / -2; min-height: 56px; padding: 10px 25px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--r-line); }
.r-detail-trust span { display: flex; align-items: center; justify-content: center; gap: 8px; color: #5f5b54; font-size: 14px; }
.r-detail-trust .r-icon { color: #a57d3f; }

.r-size-guide { padding: 25px 3vw 30px; min-height: 650px; background: #fffdfa; }
.r-size-guide h1 { margin: 0; font: 32px var(--r-serif); font-weight: 400; }
.r-size-guide > p { margin-top: 0; color: var(--r-muted); }
.r-size-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--r-line); }
.r-size-tabs button { padding: 13px 8px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; }
.r-size-tabs .active { border-color: var(--r-gold); }
.r-size-layout { min-height: 420px; padding: 20px 0; display: grid; grid-template-columns: 1fr .9fr .55fr .9fr; gap: 25px; align-items: center; }
.r-size-layout ol { margin: 0; padding-left: 32px; display: grid; gap: 22px; }
.r-size-layout li::marker { color: #a77b38; font: 20px var(--r-serif); }
.r-size-layout li b, .r-size-layout li span { display: block; }
.r-size-layout li span { color: var(--r-muted); font-size: 14px; }
.r-hand { height: 330px; display: grid; grid-template-rows: 1fr auto; place-items: center; color: #a96f50; text-align: center; overflow: hidden; }
.r-hand img { width: 100%; height: 295px; object-fit: contain; mix-blend-mode: multiply; }
.r-measure { padding: 23px; display: grid; place-items: center; border: 1px solid var(--r-gold); text-align: center; }
.r-measure b { font: 38px var(--r-serif); }
.r-measure b small { font-size: 19px; }
.r-measure strong { font: 38px var(--r-serif); font-weight: 400; }
.r-size-layout table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.r-size-layout caption { margin-bottom: 12px; font: 20px var(--r-serif); text-align: left; }
.r-size-layout th, .r-size-layout td { padding: 7px; border-bottom: 1px solid #eee6da; }
.r-size-layout tr.selected td { border-top: 1px solid var(--r-gold); border-bottom-color: var(--r-gold); background: #fffaf1; }
.r-tip { padding: 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--r-gold); background: #fffaf2; }

.r-cart { min-height: 560px; padding: 25px 4vw; display: grid; grid-template-columns: 1fr 340px; gap: 30px; background: #fffdfa; }
.r-cart h1 { margin: 0; display: flex; align-items: center; gap: 8px; font: 34px var(--r-serif); font-weight: 400; }
.r-reserved { color: #9b6f2d; font-size: 14px; }
.r-cart-head { padding: 10px 0; display: grid; grid-template-columns: 1.7fr .55fr .55fr .55fr; border-bottom: 1px solid var(--r-line); font-size: 14px; }
.r-cart-line { min-height: 110px; display: grid; grid-template-columns: 90px 1.2fr .55fr .55fr .55fr 20px; align-items: center; gap: 12px; border-bottom: 1px solid var(--r-line); }
.r-cart-line > img { width: 90px; height: 78px; object-fit: contain; background: #f7efe4; }
.r-cart-line small { display: block; color: var(--r-muted); font-size: 14px; }
.r-cart-line > span { font-size: 15px; }
.r-qty { display: flex; align-items: center; border: 1px solid var(--r-line); }
.r-qty button { width: 27px; height: 29px; border: 0; background: white; cursor: pointer; }
.r-qty span { padding: 0 7px; }
.r-delete { border: 0; background: none; cursor: pointer; }
.r-empty { padding: 40px 0; }
.r-empty a { color: var(--r-green); text-decoration: underline; }
.r-cart-options { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.r-cart-options article { padding: 18px; border: 1px solid var(--r-line); }
.r-cart-options h3 { margin: 0; font: 16px var(--r-serif); }
.r-cart-options > article > p { color: var(--r-muted); font-size: 14px; }
.r-cart-options article > div { display: flex; align-items: center; gap: 9px; }
.r-cart-options img { width: 70px; height: 55px; object-fit: cover; }
.r-cart-options small { display: block; color: var(--r-muted); font-size: 12px; }
.r-coupon input { width: 100%; min-height: 48px; padding: 9px; border: 1px solid var(--r-line); }
.r-summary { padding: 20px; align-self: start; border: 1px solid var(--r-line); background: #fffdfa; }
.r-summary h2 { margin: 0 0 17px; font: 22px var(--r-serif); font-weight: 400; }
.r-summary p { display: flex; justify-content: space-between; font-size: 15px; }
.r-summary hr { border: 0; border-top: 1px solid var(--r-line); }
.r-summary .total { font: 18px var(--r-serif); }
.r-safe { margin: 14px 0; padding: 12px; color: var(--r-green); background: #eff7f3; font-size: 14px; }
.r-summary > small { margin-top: 12px; display: block; color: var(--r-muted); font-size: 12px; }

.r-checkout { padding: 25px 3vw; min-height: 600px; background: #fffdfa; }
.r-checkout-title { display: flex; justify-content: space-between; align-items: center; }
.r-checkout-title h1 { margin: 0 0 15px; display: flex; align-items: center; gap: 8px; font: 33px var(--r-serif); font-weight: 400; }
.r-checkout-title > span { display: flex; align-items: center; gap: 7px; color: var(--r-muted); font-size: 14px; }
.r-checkout-columns { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 14px; }
.r-checkout fieldset { min-width: 0; padding: 16px; border: 1px solid var(--r-line); }
.r-checkout legend { padding: 0 4px; font: 17px var(--r-serif); }
.r-checkout label { margin: 9px 0; display: block; font-size: 14px; }
.r-checkout label > input:not([type=checkbox]):not([type=radio]), .r-checkout select { width: 100%; min-height: 34px; margin-top: 4px; padding: 7px; border: 1px solid var(--r-line); background: white; }
.r-form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r-choice { min-height: 63px; padding: 12px; display: flex !important; align-items: center; gap: 8px; border: 1px solid var(--r-line); }
.r-choice.selected { border-color: var(--r-green); background: #f5faf8; }
.r-choice span { flex: 1; }
.r-choice b, .r-choice small { display: block; }
.r-choice small { color: var(--r-muted); }
.r-choice strong { color: var(--r-green); font-size: 12px; }
.r-insured { margin-top: 12px; padding: 14px; display: flex; gap: 10px; color: var(--r-green); background: #eff7f3; }
.r-insured b, .r-insured small { display: block; }
.r-insured small { margin-top: 5px; color: var(--r-muted); }
.r-checkout-total { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; border: 1px solid #c09a5c; }
.r-checkout-total > div { min-height: 100px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--r-line); }
.r-checkout-total > div:last-child { flex-direction: column; align-items: stretch; border: 0; }
.r-checkout-total img { width: 70px; height: 65px; object-fit: contain; background: #f7efe4; }
.r-checkout-total span { flex: 1; }
.r-checkout-total span b, .r-checkout-total span small { display: block; }
.r-checkout-total span small { color: var(--r-muted); font-size: 12px; }
.r-checkout-total strong { font: 26px var(--r-serif); font-weight: 400; }

.r-confirm { padding: 20px 8vw 40px; min-height: 560px; text-align: center; background: #fffdfa; }
.r-confirm-mark { width: 43px; height: 43px; margin: 0 auto 10px; display: grid; place-items: center; color: white; background: var(--r-green); border-radius: 50%; }
.r-confirm > h1 { margin: 0; font: 34px var(--r-serif); font-weight: 400; }
.r-confirm > p { margin-top: 4px; font-size: 15px; }
.r-confirm-layout { max-width: 950px; margin: 14px auto 0; display: grid; grid-template-columns: 1fr 220px; gap: 15px; text-align: left; }
.r-confirm-layout article, .r-confirm-layout aside { border: 1px solid var(--r-line); }
.r-order-card { padding: 14px; display: grid; grid-template-columns: 1fr 100px 1fr; gap: 10px; align-items: center; }
.r-order-card h3, .r-confirm-layout aside h3 { margin: 0 0 8px; font: 15px var(--r-serif); }
.r-order-card p { margin: 4px 0; font-size: 12px; }
.r-order-card img { width: 100px; height: 85px; object-fit: contain; }
.r-order-card span b, .r-order-card span small, .r-order-card span strong { display: block; }
.r-order-card span small { margin: 4px 0; color: var(--r-muted); font-size: 12px; }
.r-certificate-card { margin-top: 12px; padding: 14px; display: grid; grid-template-columns: 90px 95px 1fr; gap: 14px; align-items: center; }
.r-certificate-card p { font-size: 14px; }
.r-certificate-cover { height: 100px; display: grid; place-items: center; align-content: center; color: var(--r-gold); background: linear-gradient(145deg, #052c22, #064e3b); border: 5px double #b8914e; letter-spacing: .18em; font: 13px var(--r-serif); }
.r-certificate-cover small { display: block; margin-top: 5px; font: 6px var(--r-sans); letter-spacing: .3em; }
.r-certificate-cover.large { width: 185px; height: 250px; }
.r-confirm-buttons { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.r-confirm-layout aside { padding: 20px; }
.r-confirm-layout aside > .r-icon { color: var(--r-green); }
.r-confirm-layout aside p b { font: 22px var(--r-serif); font-weight: 400; }

.r-tracking { padding: 25px 4vw 35px; min-height: 560px; background: #fffdfa; }
.r-tracking > h1 { margin: 0; font: 38px var(--r-serif); font-weight: 400; }
.r-tracking > p { margin-top: 0; color: var(--r-muted); }
.r-tracking-card { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--r-line); }
.r-tracking-card > aside { padding: 18px; border-right: 1px solid var(--r-line); }
.r-tracking-card aside h3 { font: 15px var(--r-serif); }
.r-tracking-card aside p { font-size: 14px; }
.r-tracking-main { padding: 20px; }
.r-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.r-steps::before { content: ""; position: absolute; top: 20px; left: 12%; right: 12%; height: 2px; background: #d7cfbf; }
.r-steps > div { z-index: 1; display: grid; place-items: center; text-align: center; font-size: 12px; }
.r-steps > div > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #b9aa8f; border-radius: 50%; background: #fffdfa; }
.r-steps .done > span, .r-steps .active > span { color: var(--r-green); border-color: var(--r-green); }
.r-steps .active > span { color: white; background: var(--r-green); }
.r-steps b, .r-steps small { margin-top: 6px; display: block; }
.r-mapbox { min-height: 230px; margin-top: 20px; display: grid; grid-template-columns: 1fr 240px; border: 1px solid var(--r-line); }
.r-map-route { min-height: 230px; display: grid; place-items: center; color: var(--r-green); background: url("/images/tracking-map.webp") center/cover no-repeat; font-size: 0; }
.r-mapbox > div:last-child { padding: 18px; }
.r-mapbox h2 { margin: 2px 0; color: var(--r-green); font: 24px var(--r-serif); }
.r-delivery-date { margin-top: 16px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; background: var(--r-cream); font: 16px var(--r-serif); }

.r-account { padding: 20px 3vw 35px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; min-height: 630px; background: #fffdfa; }
.r-account > aside { border: 1px solid var(--r-line); }
.r-profile { padding: 16px; display: flex; align-items: center; gap: 10px; }
.r-profile > span { width: 45px; height: 45px; display: grid; place-items: center; color: white; background: #a28b60; border-radius: 50%; font: 17px var(--r-serif); }
.r-profile p, .r-profile b, .r-profile small { display: block; margin: 0; }
.r-profile small { color: var(--r-muted); font-size: 12px; }
.r-account > aside > a { padding: 13px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.r-account > aside > a.active { color: white; background: var(--r-ink); }
.r-account main > h1 { margin: 0; font: 36px var(--r-serif); font-weight: 400; }
.r-account main > p { margin-top: 0; color: var(--r-muted); }
.r-account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.r-account-stats article { min-height: 75px; padding: 15px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--r-line); }
.r-account-stats .r-icon { color: #a78145; }
.r-account-stats span, .r-account-stats b { display: block; font-size: 14px; }
.r-account-stats b { font: 20px var(--r-serif); font-weight: 400; }
.r-account-panels { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.r-account-panels > article, .r-favorites { padding: 14px; border: 1px solid var(--r-line); }
.r-account-panels h2, .r-favorites h2 { margin: 0 0 10px; display: flex; justify-content: space-between; font: 17px var(--r-serif); font-weight: 400; }
.r-account-panels h2 a, .r-favorites h2 a { color: #9d773e; font: 8px var(--r-sans); }
.r-account-panels article > p { margin: 0; padding: 8px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eee7dc; }
.r-account-panels p span { flex: 1; }
.r-account-panels p b, .r-account-panels p small { display: block; font-size: 12px; }
.r-account-panels p small { color: var(--r-muted); }
.r-account-panels em { padding: 6px 10px; color: var(--r-green); background: #eaf4ef; font-size: 11px; font-style: normal; }
.r-favorites { margin-top: 13px; }
.r-favorites .r-product-grid { grid-template-columns: repeat(5, 1fr); }
.r-favorites .r-product-image { aspect-ratio: 1.45; }

.r-guarantee { min-height: 270px; padding: 35px 5vw; display: grid; grid-template-columns: 1.1fr 1fr; gap: 45px; color: white; background: linear-gradient(115deg, #075840, #053426); }
.r-guarantee > div:first-child { display: flex; gap: 24px; }
.r-guarantee > div:first-child > .r-icon { color: var(--r-gold); }
.r-guarantee h1 { margin: 0; font: 36px var(--r-serif); font-weight: 400; }
.r-guarantee p { color: #e0e8e3; font-size: 15px; }
.r-guarantee-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.r-guarantee-list p { display: flex; gap: 10px; }
.r-guarantee-list .r-icon { color: var(--r-gold); }
.r-guarantee-list b, .r-guarantee-list small { display: block; }
.r-guarantee-list small { margin-top: 3px; font-size: 12px; }
.r-warranty-content { padding: 0 5vw 25px; background: #fffdfa; }
.r-warranty-content > nav { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--r-line); }
.r-warranty-content nav button { padding: 15px; border: 0; border-bottom: 2px solid transparent; background: none; font: 14px var(--r-serif); cursor: pointer; }
.r-warranty-content nav .active { border-color: var(--r-ink); }
.r-verify { padding: 25px 0; display: grid; grid-template-columns: 1fr 220px 1.2fr; gap: 25px; align-items: center; }
.r-verify h2 { margin: 0; font: 26px var(--r-serif); font-weight: 400; }
.r-verify > div:first-child { padding-right: 25px; border-right: 1px solid var(--r-line); }
.r-verify label { margin: 15px 0 8px; display: block; font-size: 14px; }
.r-verify input { width: 100%; min-height: 48px; margin-top: 5px; padding: 8px; border: 1px solid var(--r-line); }
.r-verify article { padding: 17px; border: 1px solid var(--r-line); }
.r-verify article p { display: grid; grid-template-columns: 1fr 1.3fr; font-size: 14px; }
.r-verify article p span { color: var(--r-muted); }
.r-verify .valid { color: var(--r-green); }
.r-channel-warning { padding: 14px; display: flex; justify-content: center; align-items: center; gap: 9px; background: var(--r-cream); }

.r-trust { min-height: 58px; padding: 10px 5vw; display: grid; grid-template-columns: repeat(4, 1fr); color: #d7c49b; background: #0a0d0c; border-top: 1px solid #947846; }
.r-trust > div { display: flex; align-items: center; justify-content: center; gap: 9px; border-right: 1px solid #333832; font-size: 14px; }
.r-trust > div:last-child { border: 0; }
.r-not-found { min-height: 500px; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.r-not-found h1 { font: 35px var(--r-serif); font-weight: 400; }
.r-toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; padding: 12px 20px; color: white; background: var(--r-green); opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .25s; }
.r-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .r-header { grid-template-columns: 145px 1fr auto; gap: 14px; }
  .r-header nav { gap: 12px; font-size: 14px; }
  .r-actions > a span { display: none; }
  .r-actions { gap: 8px; }
  .r-product-grid, .r-catalog-layout .r-product-grid { grid-template-columns: repeat(3, 1fr); }
  .r-product-grid.is-dense, .r-new-products .r-product-grid, .r-favorites .r-product-grid { grid-template-columns: repeat(4, 1fr); }
  .r-detail { grid-template-columns: 70px 1fr 1fr; }
  .r-offers { grid-template-columns: 1.7fr 1fr 1fr; }
}

@media (max-width: 780px) {
  .r-promo span:nth-child(n+2) { display: none; }
  /* En movil el mensaje se parte en 2 lineas: la altura fija lo recortaba. */
  .r-promo { justify-content: center; text-align: center; height: auto; min-height: 34px; padding: 7px 4vw; font-size: 13px; line-height: 1.35; }
  .r-header { height: 72px; grid-template-columns: 155px 1fr; }
  .r-logo span { font-size: 28px; }
  .r-header nav { display: none; }
  .r-actions { justify-content: end; }
  .r-actions > a:nth-child(2), .r-actions > a:nth-child(3) { display: none; }
  .r-menu { display: grid !important; }
  .r-hero { min-height: 470px; padding: 45px 24px; background-position: 62% center; }
  .r-hero > div { width: 100%; }
  .r-hero h1 { font-size: 54px; }
  .r-benefits { grid-template-columns: 1fr 1fr; }
  .r-benefits > div { min-height: 72px; border-bottom: 1px solid #3b3e38; }
  .r-category-grid, .r-product-grid, .r-catalog-layout .r-product-grid, .r-rings-list > .r-product-grid { grid-template-columns: 1fr 1fr; }
  .r-product-grid.is-dense, .r-new-products .r-product-grid, .r-favorites .r-product-grid { grid-template-columns: 1fr 1fr; }
  .r-category { min-height: 180px; }
  .r-catalog-heading { grid-template-columns: auto 1fr; }
  .r-catalog-heading input, .r-catalog-heading select { width: 100%; justify-self: stretch; }
  .r-catalog-layout { grid-template-columns: 1fr; }
  .r-filters { display: none; }
  .r-ring-hero { grid-template-columns: 1fr; }
  .r-ring-hero > img { height: 250px; }
  .r-chip-row { overflow-x: auto; }
  .r-chip-row button { flex: none; }
  .r-chip-row .push { margin-left: 0; }
  .r-offers { grid-template-columns: 1fr; }
  .r-offers article { min-height: 290px; }
  .r-detail { padding: 14px; grid-template-columns: 1fr; }
  .r-thumbs { grid-template-columns: repeat(4, 65px); order: 2; }
  .r-detail-image { min-height: 380px; order: 1; }
  .r-detail-copy { order: 3; }
  .r-detail-trust { grid-column: 1; order: 4; grid-template-columns: 1fr 1fr; }
  .r-size-layout { grid-template-columns: 1fr; }
  .r-hand { height: 240px; }
  .r-hand img { height: 205px; }
  .r-cart { grid-template-columns: 1fr; padding: 20px; }
  .r-cart-line { grid-template-columns: 70px 1fr auto; padding: 10px 0; }
  .r-cart-line > span, .r-cart-line .r-qty { grid-column: 2; }
  .r-cart-head { display: none; }
  .r-cart-options { grid-template-columns: 1fr; }
  .r-checkout-columns, .r-checkout-total { grid-template-columns: 1fr; }
  .r-checkout-total > div { border-right: 0; border-bottom: 1px solid var(--r-line); }
  .r-confirm-layout { grid-template-columns: 1fr; }
  .r-tracking-card { grid-template-columns: 1fr; }
  .r-tracking-card > aside { border-right: 0; border-bottom: 1px solid var(--r-line); }
  .r-mapbox { grid-template-columns: 1fr; }
  .r-account { grid-template-columns: 1fr; }
  .r-account > aside { display: none; }
  .r-account-stats { grid-template-columns: 1fr 1fr; }
  .r-account-panels { grid-template-columns: 1fr; }
  .r-guarantee { grid-template-columns: 1fr; }
  .r-verify { grid-template-columns: 1fr; }
  .r-verify > div:first-child { border-right: 0; }
  .r-certificate-cover.large { margin: auto; }
}

@media (max-width: 470px) {
  .r-section { padding-left: 16px; padding-right: 16px; }
  .r-category-grid, .r-product-grid, .r-catalog-layout .r-product-grid, .r-rings-list > .r-product-grid, .r-product-grid.is-dense, .r-new-products .r-product-grid, .r-favorites .r-product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .r-product-copy { padding: 8px; }
  .r-product-copy h3 { font-size: 17px; }
  .r-product-copy small { font-size: 12px; }
  .r-benefits { grid-template-columns: 1fr; }
  .r-benefits > div { justify-content: flex-start; padding-left: 25px; }
  .r-hero .r-button { width: 100%; }
  .r-hero .r-button + .r-button { margin: 8px 0 0; }
  .r-option-row { grid-template-columns: 1fr; }
  .r-buy-row { grid-template-columns: 1fr; }
  .r-detail-trust { grid-template-columns: 1fr; }
  .r-form-row { grid-template-columns: 1fr; }
  .r-order-card { grid-template-columns: 1fr; }
  .r-certificate-card { grid-template-columns: 1fr; }
  .r-steps b, .r-steps small { display: none; }
  .r-account-stats { grid-template-columns: 1fr; }
  .r-guarantee-list { grid-template-columns: 1fr; }
  .r-warranty-content > nav { overflow-x: auto; }
  .r-warranty-content nav button { min-width: 150px; }
  .r-trust { grid-template-columns: 1fr 1fr; }
  .r-trust > div { min-height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Footer completo ---------- */
.r-footer { padding: 46px 5vw 0; color: #cfc6b4; background: #0a0d0c; border-top: 1px solid #947846; font-size: 15px; }
.r-footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 38px; }
.r-footer-brand p { max-width: 330px; margin: 14px 0 18px; color: #a9a294; font-size: 15px; line-height: 1.7; }
.r-footer-logo { display: block; color: var(--r-gold); font: 24px/1 var(--r-serif); letter-spacing: .18em; }
.r-footer-logo small { display: block; margin-top: 6px; font: 11px/1 var(--r-sans); letter-spacing: .46em; }
.r-footer-wa { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; color: #fff; background: #1f7a4d; border-radius: 3px; font-size: 15px; font-weight: 700; transition: filter .2s ease; }
.r-footer-wa:hover { filter: brightness(1.12); }
.r-footer-col { display: flex; flex-direction: column; gap: 11px; }
.r-footer-col b { margin-bottom: 5px; color: #f4efe4; font: 17px/1 var(--r-serif); font-weight: 400; letter-spacing: .04em; }
.r-footer-col a, .r-footer-col span { display: flex; align-items: center; gap: 8px; color: #a9a294; font-size: 15px; }
.r-footer-col a:hover { color: var(--r-gold); }
.r-footer-contact .r-icon { color: var(--r-gold); }
.r-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 17px 0 19px; border-top: 1px solid #2a2c27; color: #8d8779; font-size: 14px; }
.r-footer-bottom small { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.r-footer-bottom a { color: var(--r-gold); text-decoration: underline; text-underline-offset: 3px; }
.r-footer-pay .r-icon { color: var(--r-gold); }

@media (max-width: 980px) {
  .r-footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .r-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .r-footer { padding-top: 34px; }
  .r-footer-main { grid-template-columns: 1fr; gap: 26px; padding-bottom: 28px; }
  .r-footer-bottom { justify-content: center; text-align: center; }
}
