/* Ruralyss Premium · estilos del tema hijo (diseño de la maqueta aprobada). Negro, blanco y oro. */
:root {
  --rp-ink: #0f0e0c;
  --rp-ink-2: #1b1915;
  --rp-paper: #ffffff;
  --rp-bone: #f6f4f0;
  --rp-line: #e6e1d7;
  --rp-line-dark: #39352d;
  --rp-text: #1c1a16;
  --rp-muted: #6d665a;
  --rp-muted-dark: #b3aa98;
  --rp-gold: #b48a43;
  --rp-gold-hi: #e2c27f;
  --rp-gold-deep: #8a6a2f;
  --rp-f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --rp-f-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --rp-f-logo: "Great Vibes", "Snell Roundhand", cursive;
  --rp-gl: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --rp-gr: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --rp-r: 4px;
}

/* Base (por encima de Astra) */
body { background: var(--rp-paper); color: var(--rp-text); font: 400 16px/1.6 var(--rp-f-body); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea, .ast-button, .ast-custom-button { font-family: var(--rp-f-body); }
#page h1, #page h2, #page h3, .rp-drawer h3, .entry-title, .woocommerce-loop-product__title, .product_title { font-family: var(--rp-f-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; color: inherit; }
#page h1 em, #page h2 em, #page h3 em { font-style: italic; color: var(--rp-gold); font-weight: 500; }
.rp-dark h2 em, .rp-dark h3 em, .rp-hero h1 em, .rp-page-head h1 em, .rp-exp-banner h3 em { color: var(--rp-gold-hi) !important; }
a { color: inherit; }
a:hover { color: var(--rp-gold-deep); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--rp-gold); outline-offset: 2px; }
.rp-wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--rp-gl); padding-right: var(--rp-gr); }
.rp-full #content { padding: 0; }
.rp-full .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.screen-reader-text:focus { background: var(--rp-paper); color: var(--rp-ink); z-index: 100; }
[hidden] { display: none !important; }

.rp-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 0.74rem/1.2 var(--rp-f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rp-gold); }
.rp-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.rp-center { text-align: center; justify-items: center; }
.rp-center .rp-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.rp-sec { padding-block: clamp(64px, 8vw, 110px); }
.rp-sec-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.rp-sec-head h2, .rp-exp h2, .rp-story h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.rp-bone { background: var(--rp-bone); }
.rp-dark { background: var(--rp-ink); color: #f1ede5; }
.rp-dark p { color: var(--rp-muted-dark); }

/* Botones */
.rp-btn, .rp-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: var(--rp-r); padding: 15px 28px; font: 500 0.95rem/1 var(--rp-f-body); letter-spacing: 0.03em; text-decoration: none; transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.rp-btn svg { width: 18px; height: 18px; }
.rp-btn-gold { background: var(--rp-gold); color: var(--rp-ink); }
.rp-btn-gold:hover { background: var(--rp-gold-hi); color: var(--rp-ink); }
.rp-btn-line { border-color: var(--rp-line); color: var(--rp-text); background: transparent; }
.rp-btn-line:hover { border-color: var(--rp-ink); color: var(--rp-text); }
.rp-dark .rp-btn-line, .rp-hero .rp-btn-line { border-color: rgba(255,255,255,.4); color: #fff; }
.rp-dark .rp-btn-line:hover, .rp-hero .rp-btn-line:hover { border-color: var(--rp-gold-hi); color: var(--rp-gold-hi); }
.rp-btn-ink { background: var(--rp-ink); color: #fff; }
.rp-btn-ink:hover { background: var(--rp-gold); color: var(--rp-ink); }

/* Barra superior */
.rp-announce { background: #000; color: #d8d1c2; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; }
.rp-announce .rp-wrap { display: flex; justify-content: center; align-items: center; gap: 6px 26px; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.rp-announce svg { width: 14px; height: 14px; color: var(--rp-gold-hi); vertical-align: -2px; margin-right: 6px; }
.rp-demo { border: 1px solid var(--rp-line-dark); border-radius: 99px; padding: 1px 10px; font-size: 0.68rem; color: var(--rp-muted-dark); }

/* Cabecera */
.rp-header { position: sticky; top: 0; z-index: 50; background: rgba(15,14,12,.97); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid var(--rp-line-dark); }
.admin-bar .rp-header { top: 32px; }
.rp-head-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-block: 14px; }
.rp-head-left { display: flex; align-items: center; gap: 8px; }
.rp-logo, .rp-logo:visited { display: inline-grid; justify-items: center; gap: 1px; text-decoration: none; line-height: 1; font-size: 1rem; justify-self: start; }
.rp-logo .script { font: 400 2.5em/1 var(--rp-f-logo); padding: 0 .12em .12em; background: linear-gradient(115deg, var(--rp-gold-deep) 0%, var(--rp-gold-hi) 40%, #a5803d 65%, #e0bf78 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rp-logo .tag { display: flex; align-items: center; gap: .55em; margin-top: -.25em; font: 600 .62em/1 var(--rp-f-display); letter-spacing: .42em; text-transform: uppercase; color: var(--rp-gold-hi); padding-left: .42em; }
.rp-logo .tag::before, .rp-logo .tag::after { content: ""; width: 1.6em; height: 1px; background: var(--rp-gold); }
.rp-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.rp-menu > li { position: relative; }
.rp-menu > li > a { display: block; padding: 10px 16px; color: #ddd7cb; text-decoration: none; font-size: 0.92rem; letter-spacing: .04em; border-bottom: 1px solid transparent; }
.rp-menu > li > a:hover, .rp-menu > li.current-menu-item > a, .rp-menu > li.current-menu-ancestor > a { color: var(--rp-gold-hi); border-bottom-color: var(--rp-gold); }
.rp-menu .sub-menu { list-style: none; margin: 0; position: absolute; top: 100%; left: 50%; translate: -50% 0; min-width: 240px; background: var(--rp-ink); border: 1px solid var(--rp-line-dark); border-radius: var(--rp-r); padding: 8px; display: grid; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 10; }
.rp-menu > li:hover .sub-menu, .rp-menu > li:focus-within .sub-menu { opacity: 1; visibility: visible; }
.rp-menu .sub-menu a { display: block; padding: 9px 12px; color: #ddd7cb; text-decoration: none; font-size: 0.9rem; border-radius: 3px; }
.rp-menu .sub-menu a:hover { background: var(--rp-ink-2); color: var(--rp-gold-hi); }
.rp-head-tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.rp-icon-btn, .rp-icon-btn:visited { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: #fff; padding: 0; cursor: pointer; }
.rp-icon-btn:hover, .rp-icon-btn:focus { background: transparent; color: var(--rp-gold-hi); }
.rp-icon-btn svg { width: 21px; height: 21px; }
.rp-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rp-gold); color: var(--rp-ink); font: 600 0.7rem/18px var(--rp-f-body); text-align: center; padding: 0 4px; }
.rp-menu-btn { display: none; }
.rp-searchbar { border-top: 1px solid var(--rp-line-dark); }
.rp-searchbar form { padding-block: 12px; }
.rp-searchbar input[type=search] { width: 100%; background: var(--rp-ink-2); border: 1px solid var(--rp-line-dark); border-radius: var(--rp-r); padding: 12px 14px; color: #fff; font: inherit; }

/* Portada */
.rp-hero { background: var(--rp-ink); color: #fff; overflow: hidden; position: relative; }
.rp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 75% 40%, rgba(180,138,67,.16), transparent 70%); pointer-events: none; }
.rp-hero .rp-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.rp-hero-copy { display: grid; gap: 22px; min-width: 0; }
.rp-hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.7rem); margin: 0; color: #fff; }
.rp-hero p { margin: 0; color: #cfc8ba; font-size: 1.04rem; max-width: 54ch; }
.rp-hero p strong { color: #f1ede5; font-weight: 500; }
.rp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rp-frame { position: relative; min-width: 0; }
.rp-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(226,194,127,.45); border-radius: var(--rp-r); pointer-events: none; }
.rp-slides { position: relative; aspect-ratio: 5 / 4.4; border-radius: var(--rp-r); overflow: hidden; background: var(--rp-ink-2); }
.rp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.3s ease; }
.rp-slide.on { opacity: 1; }
.rp-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.rp-slide.on img { transform: scale(1); }
.rp-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(10,9,7,.85), transparent); font-size: 0.85rem; color: #e6dfd1; letter-spacing: .03em; }
.rp-dots { position: absolute; right: 18px; top: 18px; display: flex; gap: 6px; z-index: 2; }
.rp-dots button { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.rp-dots button.on { background: var(--rp-gold-hi); }
.rp-seal { position: absolute; left: -46px; top: -40px; width: 136px; height: 136px; border-radius: 50%; background: var(--rp-ink); border: 1px solid var(--rp-gold); display: grid; place-items: center; z-index: 3; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.rp-seal svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: rp-spin 28s linear infinite; }
.rp-seal .in { text-align: center; line-height: 1; }
.rp-seal b { display: block; font: 600 2rem/1 var(--rp-f-display); color: var(--rp-gold-hi); }
.rp-seal span { font-size: 0.6rem; letter-spacing: .16em; text-transform: uppercase; color: #d8d1c2; }
@keyframes rp-spin { to { transform: rotate(360deg); } }
.rp-rise { animation: rp-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rp-rise.d1 { animation-delay: .08s; } .rp-rise.d2 { animation-delay: .16s; } .rp-rise.d3 { animation-delay: .24s; } .rp-rise.d4 { animation-delay: .32s; }
@keyframes rp-rise { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Ventajas */
.rp-trust { border-bottom: 1px solid var(--rp-line); }
.rp-trust .rp-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 30px; }
.rp-trust-item { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 4px 22px; border-left: 1px solid var(--rp-line); }
.rp-trust-item:first-child { border-left: 0; padding-left: 0; }
.rp-trust-item svg { flex: none; width: 30px; height: 30px; color: var(--rp-gold); }
.rp-trust-item b { display: block; font-weight: 500; font-size: 0.95rem; }
.rp-trust-item span { display: block; color: var(--rp-muted); font-size: 0.85rem; line-height: 1.45; }

/* Categorías */
.rp-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.rp-cat-tile, .rp-cat-tile:visited { position: relative; overflow: hidden; border-radius: var(--rp-r); background: var(--rp-ink); color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.rp-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.rp-cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,9,7,.9) 0%, rgba(10,9,7,.3) 55%, rgba(10,9,7,.05) 100%); }
.rp-cat-tile:hover { color: #fff; }
.rp-cat-tile:hover img { transform: scale(1.06); }
.rp-cat-tile .in { padding: 22px; display: grid; gap: 6px; width: 100%; }
.rp-cat-tile h3 { font-size: 1.7rem; margin: 0; color: #fff; }
.rp-cat-tile span { font-size: 0.76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-gold-hi); display: inline-flex; gap: 8px; align-items: center; }
.rp-cat-tile span i { font-style: normal; transition: transform .3s; }
.rp-cat-tile:hover span i { transform: translateX(4px); }
.rp-cat-tile.big { grid-column: span 2; grid-row: span 2; }
.rp-cat-tile.big h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.rp-cat-tile.span-2 { grid-column: span 2; }
.rp-cat-tile.span-3 { grid-column: span 3; }
.rp-cat-tile.span-4 { grid-column: span 4; }

/* Rejilla y tarjeta de producto */
#page ul.products.rp-grid { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
#page ul.products.rp-grid::before, #page ul.products.rp-grid::after { display: none; }
#page ul.products.rp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#page ul.products.rp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#page ul.products li.rp-card { display: flex; flex-direction: column; min-width: 0; width: auto; margin: 0; padding: 0; float: none; background: var(--rp-paper); border-radius: var(--rp-r); overflow: hidden; transition: box-shadow .3s, transform .3s; text-align: left; }
.rp-bone li.rp-card { box-shadow: 0 1px 0 var(--rp-line); }
.rp-shop li.rp-card { border: 1px solid var(--rp-line); }
li.rp-card:hover { box-shadow: 0 18px 40px -18px rgba(15,14,12,.35); transform: translateY(-3px); }
.rp-card-img { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--rp-bone); }
#page .rp-card-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .6s ease; }
li.rp-card:hover .rp-card-img img { transform: scale(1.05); }
.rp-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--rp-ink); color: var(--rp-gold-hi); font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.rp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.rp-card-cat { font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-gold-deep); }
#page .rp-card h3 { font-size: 1.32rem; line-height: 1.15; margin: 0; }
.rp-card h3 a { text-decoration: none; }
.rp-card-fmt { color: var(--rp-muted); font-size: 0.86rem; }
.rp-card-buy { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rp-price, #page .rp-price .amount { font: 600 1.3rem/1 var(--rp-f-body); font-variant-numeric: tabular-nums; color: var(--rp-text); }
.rp-price del, .rp-price del .amount { font-size: .9rem; color: var(--rp-muted); font-weight: 400; }
.rp-price ins { text-decoration: none; }
#page .rp-add { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; padding: 0; margin: 0; background: var(--rp-ink); color: var(--rp-gold-hi); border-radius: var(--rp-r); transition: background .2s, color .2s; }
#page .rp-add svg { width: 18px; height: 18px; }
#page .rp-add:hover { background: var(--rp-gold); color: var(--rp-ink); }
#page .rp-add.loading { opacity: .5; }
#page .rp-add.loading::after, #page .rp-add.added::after { display: none; }
#page a.added_to_cart { display: none; }
.rp-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* Experiencias */
.rp-exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.rp-exp-copy { display: grid; gap: 20px; min-width: 0; }
.rp-exp-copy h2 { color: #fff; }
.rp-exp-brand { display: flex; align-items: center; gap: 10px; font: 600 1.25rem/1 var(--rp-f-display); color: var(--rp-gold-hi); }
.rp-exp-brand svg { width: 26px; height: 26px; }
.rp-exp-copy > p { margin: 0; max-width: 54ch; }
.rp-exp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 6px 0; }
.rp-exp-list div { display: grid; gap: 4px; border-top: 1px solid var(--rp-line-dark); padding-top: 14px; }
.rp-exp-list b { color: #fff; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.rp-exp-list b::before { content: ""; width: 6px; height: 6px; background: var(--rp-gold); transform: rotate(45deg); flex: none; }
.rp-exp-list span { font-size: 0.88rem; color: var(--rp-muted-dark); }
.rp-exp-media { position: relative; min-width: 0; }
.rp-exp-media .rp-slides { aspect-ratio: 4 / 4.6; }
.rp-exp-quote { position: absolute; right: -14px; bottom: 28px; max-width: 250px; background: var(--rp-paper); color: var(--rp-text); padding: 18px 20px; border-radius: var(--rp-r); border-left: 3px solid var(--rp-gold); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); z-index: 3; }
.rp-dark .rp-exp-quote p { margin: 0; font: italic 500 1.12rem/1.3 var(--rp-f-display); color: var(--rp-text); }
.rp-exp-quote small { display: block; margin-top: 8px; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-muted); }

/* Productores */
.rp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.rp-story-media { position: relative; min-width: 0; }
.rp-story-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--rp-r); }
.rp-story-quote { position: absolute; right: -28px; bottom: -28px; max-width: 300px; background: var(--rp-ink); color: #f1ede5; padding: 24px; border-radius: var(--rp-r); box-shadow: 0 20px 40px -14px rgba(15,14,12,.5); }
.rp-story-quote p { margin: 0; font: italic 500 1.2rem/1.35 var(--rp-f-display); }
.rp-story-quote small { display: block; margin-top: 12px; font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rp-gold-hi); }
.rp-story-copy { display: grid; gap: 18px; min-width: 0; }
.rp-story-copy p { margin: 0; color: var(--rp-muted); max-width: 54ch; }
.rp-story-copy .rp-btn { justify-self: start; }

/* Opiniones */
.rp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rp-review { background: var(--rp-paper); border-radius: var(--rp-r); padding: 28px; display: grid; gap: 16px; align-content: start; position: relative; margin: 0; }
.rp-review::before { content: "“"; position: absolute; right: 22px; top: 6px; font: 600 5rem/1 var(--rp-f-display); color: rgba(180,138,67,.22); }
.rp-stars { display: flex; gap: 3px; color: var(--rp-gold); }
.rp-stars svg { width: 16px; height: 16px; }
.rp-review p { margin: 0; font: italic 500 1.18rem/1.4 var(--rp-f-display); color: var(--rp-text); }
.rp-who { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.rp-who i { width: 40px; height: 40px; border-radius: 50%; background: var(--rp-ink); color: var(--rp-gold-hi); display: grid; place-items: center; font: normal 600 0.85rem/1 var(--rp-f-body); }
.rp-who b { display: block; font-weight: 500; font-size: 0.92rem; }
.rp-who span { font-size: 0.8rem; color: var(--rp-muted); }
.rp-note { text-align: center; color: var(--rp-muted); font-size: 0.8rem; margin: 22px 0 0; }

/* Pie */
.rp-footer { background: var(--rp-ink); color: var(--rp-muted-dark); font-size: 0.9rem; border-top: 3px solid var(--rp-gold); }
.rp-foot-grid { display: grid; grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr)) 1.3fr; gap: 36px; padding-block: 60px 44px; }
.rp-footer h4 { margin: 0 0 16px; font: 500 0.74rem/1 var(--rp-f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--rp-gold); }
.rp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rp-footer a { text-decoration: none; color: var(--rp-muted-dark); }
.rp-footer a:hover { color: var(--rp-gold-hi); }
.rp-foot-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.rp-foot-col h4 { margin: 0; }
.rp-foot-col p { margin: 0; max-width: 36ch; }
.rp-social { display: flex; gap: 8px; }
.rp-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rp-line-dark); display: grid; place-items: center; color: #ddd7cb; }
.rp-social a:hover { border-color: var(--rp-gold); }
.rp-social svg { width: 16px; height: 16px; }
.rp-foot-form { display: flex; border: 1px solid var(--rp-line-dark); border-radius: var(--rp-r); overflow: hidden; }
.rp-foot-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 14px; color: #fff; font: inherit; font-size: 0.88rem; }
.rp-foot-form button { border: 0; border-radius: 0; background: var(--rp-gold); color: var(--rp-ink); padding: 0 18px; font-weight: 500; font-size: 0.88rem; cursor: pointer; }
.rp-foot-form button:hover { background: var(--rp-gold-hi); color: var(--rp-ink); }
.rp-foot-ok { color: var(--rp-gold-hi); font-size: 0.85rem; }
.rp-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-pay span { border: 1px solid var(--rp-line-dark); border-radius: 3px; padding: 3px 8px; font-size: 0.72rem; letter-spacing: .06em; color: #ddd6c8; }
.rp-foot-bottom { border-top: 1px solid var(--rp-line-dark); }
.rp-foot-bottom .rp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: 0.8rem; }
.rp-foot-bottom .rp-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Tienda */
.rp-page-head { background: var(--rp-ink); color: #fff; position: relative; overflow: hidden; }
.rp-page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 90% at 85% 30%, rgba(180,138,67,.18), transparent 70%); }
.rp-page-head .rp-wrap { position: relative; padding-block: 44px 40px; display: grid; gap: 12px; }
.rp-page-head h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); margin: 0; color: #fff; }
.rp-page-head p { margin: 0; color: var(--rp-muted-dark); }
.rp-crumbs, .woocommerce-breadcrumb { font-size: 0.8rem; color: var(--rp-muted-dark); margin: 0; }
.rp-crumbs a { text-decoration: none; color: var(--rp-muted-dark); }
.rp-crumbs a:hover { color: var(--rp-gold-hi); }
.rp-chips-bar { border-bottom: 1px solid var(--rp-line); position: sticky; top: 77px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); z-index: 20; }
.admin-bar .rp-chips-bar { top: 109px; }
.rp-chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.rp-chip, .rp-chip:visited { flex: none; border: 1px solid var(--rp-line); background: var(--rp-paper); border-radius: 99px; padding: 8px 18px; font-size: 0.88rem; color: var(--rp-text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rp-chip:hover { border-color: var(--rp-ink); color: var(--rp-text); background: var(--rp-paper); }
.rp-chip.on { background: var(--rp-ink); border-color: var(--rp-ink); color: var(--rp-gold-hi); }
.rp-shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 32px 80px; }
.rp-filters { position: sticky; top: 150px; border: 1px solid var(--rp-line); border-radius: var(--rp-r); padding: 22px; }
.rp-filters form { display: grid; gap: 22px; }
.rp-filters-head { display: flex; justify-content: space-between; align-items: baseline; }
#page .rp-filters-head h3 { font-size: 1.5rem; margin: 0; }
.rp-filters h4 { margin: 0 0 10px; font: 500 0.72rem/1 var(--rp-f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--rp-muted); }
.rp-filters label { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; padding: 4px 0; cursor: pointer; }
.rp-filters input[type=checkbox] { accent-color: var(--rp-ink); width: 16px; height: 16px; margin: 0; }
.rp-filters input[type=range] { width: 100%; accent-color: var(--rp-gold); }
.rp-range-val { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--rp-muted); font-variant-numeric: tabular-nums; }
.rp-range-val b { color: var(--rp-text); font-weight: 500; }
.rp-clear { color: var(--rp-gold-deep); font-size: 0.86rem; }
.rp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
#page .rp-toolbar h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0; }
.rp-count { color: var(--rp-muted); font-size: 0.9rem; }
.rp-toolbar-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rp-toolbar .woocommerce-ordering { margin: 0; float: none; }
.rp-toolbar select.orderby { border: 1px solid var(--rp-line); border-radius: var(--rp-r); padding: 9px 34px 9px 12px; font: inherit; font-size: 0.9rem; background-color: var(--rp-paper); color: var(--rp-text); }
.rp-filter-toggle { display: none; }
.rp-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.rp-promo, .rp-promo:visited { position: relative; overflow: hidden; border-radius: var(--rp-r); padding: 26px; min-height: 150px; display: grid; align-content: end; gap: 6px; color: #fff; text-decoration: none; isolation: isolate; background: var(--rp-ink); }
.rp-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: transform .6s, opacity .4s; }
.rp-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,9,7,.9), rgba(10,9,7,.2)); }
.rp-promo:hover { color: #fff; }
.rp-promo:hover img { transform: scale(1.05); opacity: .7; }
#page .rp-promo h3 { font-size: 1.7rem; margin: 0; color: #fff; }
.rp-promo p { margin: 0; color: #d6d0c4; font-size: 0.9rem; max-width: 36ch; }
.rp-promo span { color: var(--rp-gold-hi); font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.rp-empty { padding: 40px; border: 1px dashed var(--rp-line); text-align: center; color: var(--rp-muted); border-radius: var(--rp-r); }
.rp-exp-banner { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--rp-r); overflow: hidden; background: var(--rp-ink); color: #f1ede5; }
.rp-exp-banner .in { padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
#page .rp-exp-banner h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin: 0; color: #fff; }
.rp-exp-banner p { margin: 0; color: var(--rp-muted-dark); }
.rp-exp-banner .rp-btn { justify-self: start; }
.rp-exp-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
#page .woocommerce-pagination { margin-top: 30px; }
#page .woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
#page .woocommerce-pagination ul li { border: 0; }
#page .woocommerce-pagination ul li a, #page .woocommerce-pagination ul li span { border: 1px solid var(--rp-line); border-radius: var(--rp-r); min-width: 40px; padding: 8px 12px; }
#page .woocommerce-pagination ul li span.current { background: var(--rp-ink); color: var(--rp-gold-hi); border-color: var(--rp-ink); }

/* Ficha de producto, carrito, pago y cuenta (dentro del contenedor de Astra) */
.rp-boxed #content { padding-block: 32px 72px; }
.rp-boxed .site-content > .ast-container { max-width: 1280px; padding-left: var(--rp-gl); padding-right: var(--rp-gr); }
.rp-boxed .woocommerce-breadcrumb { color: var(--rp-muted); margin-bottom: 22px; }
.rp-boxed .woocommerce-breadcrumb a { color: var(--rp-muted); text-decoration: none; }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--rp-r); }
.single-product div.product .summary { display: grid; gap: 16px; align-content: start; }
.single-product .product_title { font-size: clamp(2.1rem, 3.6vw, 3rem) !important; margin: 0 !important; }
.single-product .summary > * { margin: 0 !important; }
.rp-formato { color: var(--rp-muted); font-size: .95rem; }
.single-product .summary .price { border-block: 1px solid var(--rp-line); padding-block: 16px !important; font: 600 2rem/1 var(--rp-f-body) !important; color: var(--rp-text) !important; }
.single-product .summary .woocommerce-product-details__short-description { color: var(--rp-muted); }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.single-product form.cart .quantity input.qty { height: 52px; width: 72px; border: 1px solid var(--rp-line); border-radius: var(--rp-r); }
.single-product .ast-qty-placeholder, .single-product .quantity .minus, .single-product .quantity .plus { border-color: var(--rp-line) !important; }
.woocommerce #page button.button, .woocommerce #page a.button, .woocommerce #page input.button, #page .wc-block-components-button:not(.is-link), .woocommerce #page button.single_add_to_cart_button { background: var(--rp-gold); color: var(--rp-ink); border: 0; border-radius: var(--rp-r); padding: 15px 28px; font: 500 0.95rem/1 var(--rp-f-body); letter-spacing: 0.03em; }
.woocommerce #page button.button:hover, .woocommerce #page a.button:hover, #page .wc-block-components-button:not(.is-link):hover { background: var(--rp-gold-hi); color: var(--rp-ink); }
.woocommerce #page button.single_add_to_cart_button { flex: 1 1 200px; }
.rp-assure { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; color: var(--rp-muted); }
.rp-assure li { display: flex; gap: 10px; align-items: flex-start; }
.rp-assure svg { width: 18px; height: 18px; color: var(--rp-gold); flex: none; margin-top: 3px; }
.single-product .product_meta { font-size: .85rem; color: var(--rp-muted); }
.single-product .product_meta .tagged_as { display: none; }
.single-product .summary .price + .rp-formato { margin-top: -10px !important; font-size: .88rem; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 20px; }
.single-product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--rp-line); padding: 0; display: flex; gap: 22px; }
.single-product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; }
.single-product .woocommerce-tabs ul.tabs li a { padding: 12px 0 !important; color: var(--rp-muted) !important; font-weight: 500; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--rp-text) !important; box-shadow: inset 0 -2px 0 var(--rp-gold); }
.single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after, .single-product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product .woocommerce-Tabs-panel { color: var(--rp-muted); }
.single-product .woocommerce-Tabs-panel h2 { display: none; }
.single-product .related, .single-product .upsells { grid-column: 1 / -1; margin-top: 40px; }
.single-product .related > h2, .single-product .upsells > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 24px; }
.single-product .related ul.products, .single-product .upsells ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { border-radius: var(--rp-r); border-top-color: var(--rp-gold) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rp-gold) !important; }
.rp-boxed .entry-title { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 24px; }
.rp-boxed .entry-content { max-width: none; }
/* Astra da margen negativo a los bloques anchos: en móvil cortaba carrito y pago por la izquierda. */
.rp-boxed .entry-content > .alignwide, .rp-boxed .entry-content > .alignfull, .rp-boxed .entry-content > .wp-block-woocommerce-checkout, .rp-boxed .entry-content > .wp-block-woocommerce-cart { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
#page .wc-block-components-totals-item__label, #page .wc-block-cart__totals-title { font-family: var(--rp-f-body); }
#page .wc-block-cart-item__product .wc-block-components-product-name { font: 600 1.2rem/1.2 var(--rp-f-display); color: var(--rp-text); text-decoration: none; }

/* Carrito lateral y menú móvil */
.rp-scrim { position: fixed; inset: 0; background: rgba(10,9,7,.55); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity .25s; }
.rp-scrim.on { opacity: 1; pointer-events: auto; }
.rp-drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(420px, 100%); background: var(--rp-paper); z-index: 9999; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.rp-drawer.on { transform: none; }
.rp-drawer.rp-left { right: auto; left: 0; transform: translateX(-100%); background: var(--rp-ink); color: #fff; }
.rp-drawer.rp-left.on { transform: none; }
.rp-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--rp-line); }
.rp-left .rp-drawer-head { border-color: var(--rp-line-dark); }
.rp-drawer-head h3 { font-size: 1.6rem; margin: 0; }
#rp-cart .rp-icon-btn { color: var(--rp-text); }
.rp-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
#rp-cart .widget_shopping_cart_content { padding: 0; }
#rp-cart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
#rp-cart .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; padding: 0 28px 16px 0; border-bottom: 1px solid var(--rp-line); }
#rp-cart .woocommerce-mini-cart-item a:not(.remove) { display: contents; font: 600 1.1rem/1.2 var(--rp-f-display); text-decoration: none; color: var(--rp-text); }
#rp-cart .woocommerce-mini-cart-item img { grid-row: span 2; width: 72px; height: 88px; object-fit: cover; border-radius: var(--rp-r); margin: 0; float: none; }
#rp-cart .woocommerce-mini-cart-item .quantity { grid-column: 2; font-size: .9rem; color: var(--rp-muted); }
#rp-cart .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 0; color: var(--rp-muted) !important; font-size: 1.2rem; line-height: 1; border: 0; }
#rp-cart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; border-top: 1px solid var(--rp-line); margin-top: 18px; padding-top: 16px; font-size: 1.05rem; }
#rp-cart .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin-top: 14px; }
#rp-cart .woocommerce-mini-cart__buttons a { display: block; text-align: center; padding: 14px; border-radius: var(--rp-r); text-decoration: none; font-weight: 500; border: 1px solid var(--rp-line); color: var(--rp-text); background: var(--rp-paper); }
#rp-cart .woocommerce-mini-cart__buttons a.checkout { background: var(--rp-gold); border-color: var(--rp-gold); color: var(--rp-ink); }
#rp-cart .woocommerce-mini-cart__empty-message { text-align: center; color: var(--rp-muted); padding: 30px 0; }
.rp-mnav { list-style: none; margin: 0; padding: 0; display: grid; }
.rp-mnav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--rp-line-dark); text-decoration: none; font: 600 1.35rem/1.2 var(--rp-f-display); color: #fff; }
.rp-mnav .sub-menu { list-style: none; margin: 0; padding: 0; }
.rp-mnav .sub-menu a { font: 400 0.95rem/1.2 var(--rp-f-body); color: #cfc8ba; padding: 11px 0 11px 14px; }
.rp-mnav a:hover { color: var(--rp-gold-hi); }
body.rp-lock { overflow: hidden; }

/* Responsive */
@media (max-width: 1080px) {
  #page ul.products.rp-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #page ul.products.rp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-trust .rp-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .rp-trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .rp-foot-grid { grid-template-columns: 1fr 1fr; }
  .rp-reviews { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .single-product .related ul.products, .single-product .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .rp-nav { display: none; }
  .rp-menu-btn { display: inline-grid; }
  .rp-head-row .rp-logo { justify-self: center; }
  .rp-hero .rp-wrap, .rp-exp, .rp-story, .rp-exp-banner, .single-product div.product { grid-template-columns: minmax(0, 1fr); }
  .rp-frame { margin-right: 22px; margin-top: 30px; }
  .rp-seal { left: auto; right: -14px; top: -34px; width: 104px; height: 104px; }
  .rp-seal b { font-size: 1.6rem; }
  .rp-dots { right: auto; left: 18px; }
  .rp-story-quote { right: 12px; bottom: -24px; }
  .rp-story-copy { margin-top: 24px; }
  .rp-exp-quote { right: 12px; }
  .rp-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .rp-cat-tile.big { grid-column: span 2; grid-row: span 1; }
  .rp-cat-tile.span-2, .rp-cat-tile.span-3, .rp-cat-tile.span-4 { grid-column: span 1; }
  .rp-cat-tile .in { padding: 16px; }
  .rp-cat-tile h3 { font-size: 1.4rem; }
  .rp-cat-tile span { font-size: 0.66rem; white-space: nowrap; letter-spacing: .12em; }
  .rp-shop { grid-template-columns: minmax(0, 1fr); }
  .rp-filters { position: static; display: none; }
  .rp-filters.open { display: block; }
  .rp-filter-toggle { display: inline-flex; }
  .rp-chips-bar { top: 73px; }
}
@media (max-width: 782px) {
  .admin-bar .rp-header { top: 46px; }
}
@media (max-width: 560px) {
  #page ul.products.rp-grid-4, #page ul.products.rp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #page ul.products.rp-grid { gap: 12px; }
  .rp-card-body { padding: 12px; }
  #page .rp-card h3 { font-size: 1.1rem; }
  .rp-price, #page .rp-price .amount { font-size: 1.1rem; }
  .rp-trust .rp-wrap, .rp-foot-grid, .rp-promos, .rp-exp-list { grid-template-columns: minmax(0, 1fr); }
  .rp-trust-item { border-left: 0; padding-left: 0; }
  .rp-logo { font-size: .88rem; }
  .rp-acc { display: none; }
  .rp-announce .rp-wrap > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
