/* ======================================================================
 * Páginas de la tienda con formularios y listas: acceso y registro, cuenta,
 * carrito, finalizar compra y lista de deseos (APP-129). Solo se carga en
 * ellas. Estilo de la marca: esquinas rectas, verde #0f4a4d, dorado #b8912f,
 * etiquetas en mayúsculas con letra espaciada y el trazo corto bajo títulos.
 * ====================================================================== */

/* -------------------------------------------------------------- Títulos y avisos */
html body.woocommerce-account:not(.logged-in) .entry-header {
  display: none;
}

html body .woocommerce-message,
html body .woocommerce-info,
html body .woocommerce-error {
  margin: 0 0 24px;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--rv-linea);
  border-left: 3px solid var(--rv-acento);
  border-radius: 0;
  background: var(--rv-suave);
  color: var(--rv-tinta);
  font-size: 14px;
}

html body .woocommerce-error {
  border-left-color: var(--rv-oferta);
  background: #fdf3f5;
}

html body .woocommerce-message::before,
html body .woocommerce-info::before,
html body .woocommerce-error::before {
  top: 16px;
  left: 20px;
  color: var(--rv-acento);
}

html body .woocommerce-error::before {
  color: var(--rv-oferta);
}

html body .woocommerce-message .button,
html body .woocommerce-info .button {
  float: right;
  margin: -4px 0 0 16px;
}

/* ------------------------------------------------ Campos de formulario comunes */
html body.woocommerce-account form .form-row label,
html body.woocommerce-checkout form .form-row label,
html body.woocommerce-cart form .form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-tinta);
}

html body.woocommerce-account form .form-row label .required,
html body.woocommerce-checkout form .form-row label .required {
  color: var(--rv-oferta);
  text-decoration: none;
}

html body.woocommerce-account form .input-text,
html body.woocommerce-checkout form .input-text,
html body.woocommerce-cart form .input-text,
html body.woocommerce-account form select,
html body.woocommerce-checkout form select,
html body.woocommerce-checkout form textarea,
html body.woocommerce-account form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dfe4e4;
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html body.woocommerce-account form .input-text:focus,
html body.woocommerce-checkout form .input-text:focus,
html body.woocommerce-account form select:focus,
html body.woocommerce-checkout form select:focus,
html body.woocommerce-checkout form textarea:focus {
  border-color: var(--rv-acento);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 74, 77, 0.08);
}

html body.woocommerce-account .woocommerce-form .button,
html body.woocommerce-checkout #place_order,
html body.woocommerce-cart .checkout-button,
html body.woocommerce-account .woocommerce-Button {
  min-height: 50px;
  padding: 0 34px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: var(--rv-acento);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s;
}

html body.woocommerce-account .woocommerce-form .button:hover,
html body.woocommerce-checkout #place_order:hover,
html body.woocommerce-cart .checkout-button:hover,
html body.woocommerce-account .woocommerce-Button:hover {
  border-color: #0a3538;
  background: #0a3538;
  color: #fff;
}

/* --------------------------------------------------------- Acceso y registro */
.rv-acceso {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: 1040px;
  margin: 24px auto 40px;
  border: 1px solid var(--rv-linea);
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 53, 56, 0.08);
}

.rv-acceso__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 56px 44px;
  background: radial-gradient(120% 90% at 0% 0%, #136267 0%, #0f4a4d 45%, #0a3538 100%);
  color: #fff;
}

.rv-acceso__panel .rv-eyebrow {
  margin: 0;
  color: #d9bd6c;
}

.rv-acceso__panel h2 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 20px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
}

.rv-acceso__panel h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: #d9bd6c;
}

.rv-acceso__panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-acceso__panel li {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.rv-acceso__panel strong {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rv-acceso__panel span {
  font-size: 14px;
  line-height: 1.55;
  color: #cfe1df;
}

.rv-acceso__formulario {
  padding: 56px 52px;
}

.rv-acceso__cabecera {
  margin-bottom: 28px;
}

.rv-acceso__cabecera h1,
.rv-acceso__cabecera h2 {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 18px;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--rv-tinta);
}

.rv-acceso__cabecera h1::after,
.rv-acceso__cabecera h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--rv-acento);
}

.rv-acceso__cabecera p {
  margin: 0;
  color: #6a7677;
}

.rv-acceso form p.form-row {
  margin: 0 0 20px;
}

.rv-acceso form .password-input {
  display: block;
}

.rv-acceso__opciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 4px 0 24px;
  font-size: 13.5px;
}

.rv-acceso__opciones label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #4a5556;
}

.rv-acceso__opciones input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--rv-acento);
}

.rv-acceso__olvido,
.rv-acceso__cambio a {
  color: var(--rv-acento);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.rv-acceso__enviar {
  margin: 0 !important;
}

.rv-acceso__enviar .button {
  width: 100%;
}

.rv-acceso__nota {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #6a7677;
}

.rv-acceso .woocommerce-privacy-policy-text p {
  margin: 0 0 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7a8586;
}

.rv-acceso__cambio {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rv-linea);
  font-size: 14px;
  text-align: center;
  color: #566264;
}

@media (max-width: 860px) {
  .rv-acceso {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .rv-acceso__panel {
    padding: 32px 26px;
  }

  .rv-acceso__panel ul {
    display: none;
  }

  .rv-acceso__panel h2 {
    margin: 0;
  }

  .rv-acceso__formulario {
    padding: 32px 22px 36px;
  }
}

/* ---------------------------------------------------------- Mi cuenta (con sesión) */
html body.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: auto;
  float: none;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border: 1px solid var(--rv-linea);
  list-style: none;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-top: 1px solid var(--rv-linea);
}

html body.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
  border-top: 0;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 15px 20px;
  border-left: 3px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5556;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
html body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  border-left-color: var(--rv-acento);
  background: var(--rv-suave);
  color: var(--rv-acento);
}

html body.woocommerce-account .woocommerce-MyAccount-content {
  width: auto;
  float: none;
  min-width: 0;
  font-size: 15px;
  line-height: 1.7;
}

html body.woocommerce-account table.shop_table,
html body.woocommerce-cart table.shop_table,
html body.woocommerce-checkout table.shop_table {
  border: 1px solid var(--rv-linea);
  border-collapse: collapse;
  border-radius: 0;
}

html body.woocommerce-account table.shop_table th,
html body.woocommerce-cart table.shop_table th,
html body.woocommerce-checkout table.shop_table th {
  padding: 16px 18px;
  background: var(--rv-suave);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-tinta);
}

html body.woocommerce-account table.shop_table td,
html body.woocommerce-cart table.shop_table td,
html body.woocommerce-checkout table.shop_table td {
  padding: 16px 18px;
  border-top: 1px solid var(--rv-linea);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  html body.woocommerce-account.logged-in .woocommerce {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------------------------------------------------------------------- Carrito */
html body.woocommerce-cart table.cart img {
  width: 84px;
  height: 84px;
  padding: 6px;
  background: var(--rv-suave);
  object-fit: contain;
  mix-blend-mode: multiply;
}

html body.woocommerce-cart table.cart td.product-name a {
  font-weight: 600;
  color: var(--rv-tinta);
  text-decoration: none;
}

html body.woocommerce-cart table.cart td.product-remove a.remove {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rv-linea);
  border-radius: 50%;
  background: #fff;
  color: #8a9495 !important;
  font-size: 16px;
  line-height: 1;
}

html body.woocommerce-cart table.cart td.product-remove a.remove:hover {
  border-color: var(--rv-oferta);
  background: var(--rv-oferta);
  color: #fff !important;
}

html body.woocommerce-cart table.cart .quantity .qty {
  width: 76px;
  padding: 10px;
  text-align: center;
}

html body.woocommerce-cart .actions .coupon .input-text {
  width: auto;
  min-width: 200px;
}

html body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 28px 30px 30px;
  border: 1px solid var(--rv-linea);
  border-top: 3px solid var(--rv-acento);
  background: var(--rv-suave);
}

html body.woocommerce-cart .cart_totals h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

html body.woocommerce-cart .cart_totals table.shop_table {
  border: 0;
  background: transparent;
}

html body.woocommerce-cart .cart_totals table.shop_table th,
html body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #dfe4e4;
  background: transparent;
}

html body.woocommerce-cart .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 50px;
}

/* ------------------------------------------------------------ Finalizar compra */
html body.woocommerce-checkout h3,
html body.woocommerce-checkout #order_review_heading {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

html body.woocommerce-checkout #order_review {
  padding: 28px 30px 30px;
  border: 1px solid var(--rv-linea);
  border-top: 3px solid var(--rv-acento);
  background: var(--rv-suave);
}

html body.woocommerce-checkout #payment {
  border-radius: 0;
  background: transparent;
}

html body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #dfe4e4;
}

html body.woocommerce-checkout #payment div.payment_box {
  border-radius: 0;
  background: #fff;
}

/* ----------------------------------------------------------- Lista de deseos */
html body .wishlist-title-container,
html body .wishlist-title {
  display: none;
}

html body .yith-wcwl-form table.wishlist_table {
  display: block;
  border: 0;
}

html body .yith-wcwl-form table.wishlist_table thead {
  display: none;
}

html body .yith-wcwl-form table.wishlist_table tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

html body .yith-wcwl-form table.wishlist_table tr[data-row-id] {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rv-linea);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}

html body .yith-wcwl-form table.wishlist_table tr[data-row-id]:hover {
  box-shadow: 0 14px 34px rgba(10, 53, 56, 0.1);
  transform: translateY(-3px);
}

html body .yith-wcwl-form table.wishlist_table td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

html body .yith-wcwl-form table.wishlist_table td.product-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: auto;
}

html body .yith-wcwl-form table.wishlist_table td.product-remove a.remove_from_wishlist {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(10, 53, 56, 0.14);
  color: #7a8586 !important;
  font-size: 18px;
  line-height: 1;
}

html body .yith-wcwl-form table.wishlist_table td.product-remove a.remove_from_wishlist:hover {
  background: var(--rv-oferta);
  color: #fff !important;
}

html body .yith-wcwl-form table.wishlist_table td.product-thumbnail {
  background: var(--rv-suave);
}

html body .yith-wcwl-form table.wishlist_table td.product-thumbnail a {
  display: block;
  padding: 22px;
}

html body .yith-wcwl-form table.wishlist_table td.product-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

html body .yith-wcwl-form table.wishlist_table td.product-name {
  padding: 18px 20px 4px;
}

html body .yith-wcwl-form table.wishlist_table td.product-name a {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rv-tinta);
  text-decoration: none;
}

html body .yith-wcwl-form table.wishlist_table td.product-price {
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rv-tinta);
}

html body .yith-wcwl-form table.wishlist_table td.product-stock-status {
  padding: 6px 20px 0;
}

html body .yith-wcwl-form table.wishlist_table .wishlist-in-stock,
html body .yith-wcwl-form table.wishlist_table .wishlist-out-of-stock {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html body .yith-wcwl-form table.wishlist_table .wishlist-in-stock {
  color: var(--rv-acento);
}

html body .yith-wcwl-form table.wishlist_table .wishlist-out-of-stock {
  color: var(--rv-oferta);
}

html body .yith-wcwl-form table.wishlist_table td.product-add-to-cart {
  margin-top: auto;
  padding: 18px 20px 20px;
}

html body .yith-wcwl-form table.wishlist_table td.product-add-to-cart .button,
html body .yith-wcwl-form table.wishlist_table td.product-add-to-cart a {
  display: block;
  width: 100%;
  padding: 13px 10px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: var(--rv-acento);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

html body .yith-wcwl-form table.wishlist_table td.product-add-to-cart .button:hover {
  border-color: #0a3538;
  background: #0a3538;
}

html body .yith-wcwl-form table.wishlist_table td.product-arrange,
html body .yith-wcwl-form table.wishlist_table td.product-checkbox {
  display: none;
}

/* Lista vacía: invitación a explorar. */
html body .yith-wcwl-form table.wishlist_table tr td.wishlist-empty {
  display: block;
  grid-column: 1 / -1;
  padding: 64px 20px 12px;
  background: var(--rv-suave);
  font-size: 15px;
  text-align: center;
  color: #566264;
}

html body .yith-wcwl-form table.wishlist_table tr td.wishlist-empty::before {
  content: '';
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  background: var(--rv-acento);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8 3.4 4.8 6.6 4.8c1.9 0 3.5 1 5.4 3 1.9-2 3.5-3 5.4-3 3.2 0 5.1 3.2 3.9 6.5-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8 3.4 4.8 6.6 4.8c1.9 0 3.5 1 5.4 3 1.9-2 3.5-3 5.4-3 3.2 0 5.1 3.2 3.9 6.5-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rv-deseos-vacio {
  margin: 0 0 40px;
  padding: 0 20px 56px;
  background: var(--rv-suave);
  text-align: center;
}

.rv-deseos-vacio a {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid var(--rv-acento);
  background: var(--rv-acento);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.rv-deseos-vacio a:hover {
  background: #0a3538;
  color: #fff;
}

html body .rv-acceso form.woocommerce-form-login,
html body .rv-acceso form.woocommerce-form-register {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

html body .yith-wcwl-form table.wishlist_table td.product-remove,
html body .yith-wcwl-form table.wishlist_table td.product-remove a.remove_from_wishlist {
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
}

html body .yith-wcwl-form table.wishlist_table td.product-remove a.remove_from_wishlist img,
html body .yith-wcwl-form table.wishlist_table td.product-remove a.remove_from_wishlist svg {
  width: 14px;
  height: 14px;
}

html body .yith-wcwl-share {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rv-linea);
}

html body .yith-wcwl-share h4,
html body .yith-wcwl-share .yith-wcwl-share-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a7677;
}

/* Sin migas de pan en estas páginas y carrito vacío con presencia. */
html body.woocommerce-cart .yoast-breadcrumbs,
html body.woocommerce-cart .wp-block-yoast-seo-breadcrumbs,
html body.woocommerce-checkout .yoast-breadcrumbs,
html body.woocommerce-account .yoast-breadcrumbs {
  display: none;
}

html body .cart-empty.woocommerce-info {
  padding: 56px 20px 8px;
  border: 0;
  background: var(--rv-suave);
  font-size: 16px;
  text-align: center;
}

html body .cart-empty.woocommerce-info::before {
  position: static;
  display: block;
  margin: 0 auto 14px;
  font-size: 30px;
}

html body .return-to-shop {
  margin: 0 0 40px;
  padding: 0 20px 56px;
  background: var(--rv-suave);
  text-align: center;
}

html body.woocommerce-cart .cart_totals h2 {
  padding-left: 0;
  background: transparent;
}

/* ======================================================================
 * Carrito y lista de deseos con el espíritu de apple.com (APP-132).
 * ====================================================================== */

/* El título lo pone la propia página (cabecera grande): se oculta el de Astra. */
html body.woocommerce-cart .entry-header,
html body.rv-pagina-deseos .entry-header {
  display: none;
}

/* ----------------------------------------------------------------- Cabecera del carrito */
.rv-bolsa__cabeza {
  grid-column: 1 / -1;
  padding: 40px 0 36px;
  text-align: center;
}

.rv-bolsa__cabeza .rv-eyebrow,
.rv-deseos__cabeza .rv-eyebrow {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

.rv-bolsa__cabeza h1,
.rv-deseos__cabeza h1,
.rv-deseos__cabeza h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--rv-tinta);
}

.rv-bolsa__cabeza p,
.rv-deseos__cabeza p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: #566264;
}

.rv-bolsa__cabeza strong {
  color: var(--rv-tinta);
}

.rv-bolsa__seguir {
  display: inline-block;
  color: var(--rv-acento);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ------------------------------------------------------------------ Carrito: dos columnas */
@media (min-width: 981px) {
  html body.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    column-gap: 56px;
    align-items: start;
  }

  html body.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
  }

  html body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
  }

  html body.woocommerce-cart .cart-collaterals {
    position: sticky;
    top: 120px;
    grid-column: 2;
    grid-row: 3 / span 2;
    width: auto;
  }

  html body.woocommerce-cart .cart-empty,
  html body.woocommerce-cart .return-to-shop {
    grid-column: 1 / -1;
  }
}

/* Los avisos repetidos de «añadido al carrito» no estorban. */
html body.woocommerce-cart .woocommerce-message + .woocommerce-message {
  display: none;
}

/* ----------------------------------------------------------------- Productos en filas */
html body.woocommerce-cart table.shop_table.cart {
  display: block;
  border: 0;
  background: transparent;
}

html body.woocommerce-cart table.shop_table.cart thead {
  display: none;
}

html body.woocommerce-cart table.shop_table.cart tbody {
  display: block;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  grid-template-areas:
    'foto nombre subtotal'
    'foto precio subtotal'
    'foto cantidad quitar';
  gap: 6px 24px;
  padding: 28px 0;
  border-top: 1px solid var(--rv-linea);
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item:first-child {
  border-top: 0;
  padding-top: 0;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td {
  display: block;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

html body.woocommerce-cart table.shop_table.cart td::before {
  content: none !important;
}

html body.woocommerce-cart td.product-thumbnail {
  grid-area: foto;
  width: auto !important;
}

html body.woocommerce-cart td.product-thumbnail a {
  display: block;
  background: #eeeeee;
}

html body.woocommerce-cart td.product-thumbnail img {
  display: block;
  width: 132px !important;
  height: 132px !important;
  max-width: none;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

html body.woocommerce-cart td.product-name {
  grid-area: nombre;
  align-self: end;
}

html body.woocommerce-cart td.product-name a {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rv-tinta);
  text-decoration: none;
}

html body.woocommerce-cart td.product-name .variation {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #7a8586;
}

html body.woocommerce-cart td.product-price {
  grid-area: precio;
  align-self: start;
  font-size: 13.5px;
  color: #7a8586;
}

html body.woocommerce-cart td.product-price::after {
  content: ' c/u';
}

html body.woocommerce-cart td.product-subtotal {
  grid-area: subtotal;
  align-self: start;
  font-size: 1.12rem;
  font-weight: 600;
  text-align: right !important;
  color: var(--rv-tinta);
}

html body.woocommerce-cart td.product-quantity {
  grid-area: cantidad;
  align-self: end;
}

html body.woocommerce-cart td.product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe4e4;
  background: #fff;
}

html body.woocommerce-cart td.product-quantity .qty {
  width: 54px !important;
  min-height: 42px;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
  box-shadow: none !important;
}

html body.woocommerce-cart td.product-quantity .ast-qty-btn,
html body.woocommerce-cart td.product-quantity #minus_qty,
html body.woocommerce-cart td.product-quantity #plus_qty,
html body.woocommerce-cart td.product-quantity .minus,
html body.woocommerce-cart td.product-quantity .plus {
  display: grid;
  place-items: center;
  width: 40px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rv-acento);
  font-size: 18px;
  cursor: pointer;
}

/* «Eliminar» como enlace de texto en lugar de la equis redonda. */
html body.woocommerce-cart td.product-remove {
  grid-area: quitar;
  align-self: end;
  justify-self: end;
}

html body.woocommerce-cart td.product-remove a.remove {
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #7a8586 !important;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

html body.woocommerce-cart td.product-remove a.remove::after {
  content: 'Eliminar';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
}

html body.woocommerce-cart td.product-remove a.remove:hover::after {
  color: var(--rv-oferta);
}

html body.woocommerce-cart .woocommerce-cart-form.es-actualizando {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* Cupón y actualizar: discretos (la cantidad ya se actualiza sola). */
html body.woocommerce-cart table.shop_table.cart tr:not(.cart_item) td.actions {
  display: block;
  padding: 22px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--rv-linea) !important;
}

html body.woocommerce-cart td.actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  float: none;
  align-items: stretch;
}

html body.woocommerce-cart td.actions .coupon label {
  display: none;
}

html body.woocommerce-cart td.actions .coupon .input-text {
  flex: 1 1 200px;
  width: auto !important;
  min-width: 0;
  padding: 12px 14px !important;
}

html body.woocommerce-cart td.actions .coupon .button {
  padding: 0 22px;
  border: 1px solid var(--rv-acento);
  background: transparent;
  color: var(--rv-acento);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html body.woocommerce-cart td.actions .coupon .button:hover {
  background: var(--rv-acento);
  color: #fff;
}

html body.woocommerce-cart td.actions > button[name='update_cart'] {
  position: absolute !important;
  left: -9999px !important;
}

/* -------------------------------------------------------------------------- Resumen */
html body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: auto !important;
  padding: 30px 28px 28px;
  border: 0;
  background: #f5f6f6;
}

html body.woocommerce-cart .cart_totals > h2 {
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--rv-tinta);
}

html body.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  border: 0;
}

html body.woocommerce-cart .cart_totals table.shop_table th,
html body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 13px 0 !important;
  border: 0 !important;
  border-top: 1px solid #e0e4e4 !important;
  background: transparent !important;
  font-size: 14.5px;
  text-align: left;
}

html body.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right;
}

html body.woocommerce-cart .cart_totals table.shop_table th {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #566264;
}

html body.woocommerce-cart .cart_totals .order-total th,
html body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 18px !important;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rv-tinta);
}

html body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 22px 0 0;
}

html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  min-height: 54px;
  margin: 0;
  line-height: 54px;
  text-align: center;
}

.rv-bolsa__garantias {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #e0e4e4;
  list-style: none;
}

.rv-bolsa__garantias li {
  display: grid;
  gap: 1px;
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--rv-acento);
}

.rv-bolsa__garantias strong {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

.rv-bolsa__garantias span {
  font-size: 13px;
  color: #6a7677;
}

.rv-bolsa__ayuda {
  margin: 18px 0 0;
  font-size: 13px;
  color: #6a7677;
}

.rv-bolsa__ayuda a {
  color: var(--rv-acento);
  font-weight: 600;
}

/* Carrito vacío */
html body.woocommerce-cart .cart-empty.woocommerce-info,
html body.woocommerce-cart .return-to-shop {
  display: none;
}

@media (max-width: 980px) {
  html body.woocommerce-cart .cart-collaterals {
    margin-top: 28px;
  }

  html body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 6px 16px;
  }

  html body.woocommerce-cart td.product-thumbnail img {
    width: 96px !important;
    height: 96px !important;
  }
}

/* ============================================================ Lista de deseos */
.rv-deseos {
  max-width: 1240px;
  margin: 0 auto 64px;
}

.rv-deseos__cabeza {
  padding: 40px 0 44px;
  text-align: center;
}

.rv-deseos__cabeza h1,
.rv-deseos__cabeza h2 {
  max-width: 14ch;
  margin-right: auto;
  margin-left: auto;
}

.rv-deseos__boton,
html body .rv-deseos .rv-deseos__boton {
  display: inline-block;
  padding: 15px 36px;
  border: 1px solid var(--rv-acento);
  background: var(--rv-acento);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.rv-deseos__boton:hover {
  background: #0a3538;
  color: #fff;
}

.rv-deseos__sub {
  margin: 8px 0 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: #6a7677;
}

.rv-deseos--vacia .rv-deseos__cabeza::before {
  content: '';
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: #c9d3d3;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.9' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8 3.4 4.8 6.6 4.8c1.9 0 3.5 1 5.4 3 1.9-2 3.5-3 5.4-3 3.2 0 5.1 3.2 3.9 6.5-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.9' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8 3.4 4.8 6.6 4.8c1.9 0 3.5 1 5.4 3 1.9-2 3.5-3 5.4-3 3.2 0 5.1 3.2 3.9 6.5-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rv-deseos__rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 24px;
}

.rv-deseo {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: opacity 0.6s, transform 0.6s;
}

.rv-deseo.es-quitando {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.rv-deseo__foto {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eeeeee;
}

.rv-deseo__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rv-deseo:hover .rv-deseo__foto img {
  transform: scale(1.05);
}

.rv-deseo__texto {
  display: grid;
  gap: 4px;
  padding: 18px 2px 0;
}

.rv-deseo__marca {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8912f;
}

.rv-deseo__texto h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

.rv-deseo__texto h3 a {
  color: var(--rv-tinta);
  text-decoration: none;
}

.rv-deseo__ml {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a8586;
}

.rv-deseo__precio {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rv-tinta);
}

html body .rv-deseo .rv-comprar {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 13px 10px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: var(--rv-acento);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

html body .rv-deseo a.rv-comprar:hover {
  background: #0a3538;
  color: #fff;
}

html body .rv-deseo .rv-comprar--agotado {
  border-color: #d5dada;
  background: transparent;
  color: #9aa4a5;
}

.rv-deseos__pie {
  margin: 48px 0 0;
  text-align: center;
}

.rv-deseos__pie a {
  color: var(--rv-acento);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 700px) {
  .rv-deseos__rejilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }
}

/* Ajustes sobre los estilos del tema madre en el carrito. */
html body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 132px !important;
  max-width: none !important;
  height: 132px !important;
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before {
  display: none !important;
}

html body.woocommerce-cart .cart_totals > h2 {
  background: transparent !important;
}

@media (max-width: 980px) {
  html body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 96px !important;
    height: 96px !important;
  }
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  font-size: 0 !important;
  line-height: 1 !important;
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove::after {
  font-size: 13px !important;
}

html body .rv-deseo__texto h3 a,
html body .rv-deseo__texto h3 a:hover {
  text-decoration: none !important;
}

/* ======================================================================
 * Carrito y pago: los componentes que quedaban con el estilo del tema madre.
 * ====================================================================== */
html body.woocommerce-cart td.product-remove a.remove .ahfb-svg-iconset,
html body.woocommerce-cart td.product-remove a.remove svg {
  display: none !important;
}

/* El aviso «añadido al carrito» sobra dentro del propio carrito. */
html body.woocommerce-cart .woocommerce-message .button,
html body.woocommerce-cart .woocommerce-message a.wc-forward {
  display: none !important;
}

html body.woocommerce-cart .woocommerce-message {
  margin-bottom: 8px;
  padding: 14px 18px 14px 48px;
  border: 0;
  border-left: 3px solid var(--rv-acento);
  background: #f3f7f6;
  font-size: 13.5px;
}

/* Cantidad: caja única, con botones del mismo tamaño que el campo. */
html body.woocommerce-cart td.product-quantity .quantity {
  border: 1px solid #cfd8d8;
}

html body.woocommerce-cart td.product-quantity .quantity > * {
  border-radius: 0 !important;
}

/* Envío: texto claro y enlace del color de la marca. */
html body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
html body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #566264;
  list-style: none;
}

html body.woocommerce-cart .cart_totals .shipping-calculator-button {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rv-acento);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

html body.woocommerce-cart .cart_totals .shipping-calculator-form p {
  margin: 10px 0 0;
}

html body.woocommerce-cart .cart_totals .shipping-calculator-form select,
html body.woocommerce-cart .cart_totals .shipping-calculator-form input[type='text'] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dfe4e4;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
}

html body.woocommerce-cart .cart_totals .shipping-calculator-form .button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: transparent;
  color: var(--rv-acento);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html body.woocommerce-cart .cart_totals .shipping-calculator-form .button:hover {
  background: var(--rv-acento);
  color: #fff;
}

/* Cupón: línea sencilla bajo los productos. */
html body.woocommerce-cart td.actions .coupon .input-text {
  border: 1px solid #dfe4e4 !important;
  border-radius: 0 !important;
}

/* ======================================================================
 * Contáctanos
 * ====================================================================== */
html body.rv-pagina-contacto .entry-header {
  display: none;
}

.rv-contacto {
  max-width: 1240px;
  margin: 0 auto 72px;
}

.rv-contacto__cabeza {
  padding: 40px 0 44px;
  text-align: center;
}

.rv-contacto__cabeza .rv-eyebrow {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

.rv-contacto__cabeza h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--rv-tinta);
}

.rv-contacto__cabeza p:not(.rv-eyebrow) {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #566264;
}

.rv-contacto__rejilla {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}

.rv-contacto__datos {
  display: grid;
  gap: 14px;
}

html body .rv-contacto__dato {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  border: 1px solid var(--rv-linea);
  border-left: 3px solid var(--rv-acento);
  background: #fff;
  color: var(--rv-tinta);
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}

html body a.rv-contacto__dato:hover {
  box-shadow: 0 12px 30px rgba(10, 53, 56, 0.1);
  transform: translateY(-2px);
}

.rv-contacto__dato span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8912f;
}

.rv-contacto__dato strong {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.rv-contacto__dato small {
  font-size: 13px;
  line-height: 1.55;
  color: #6a7677;
}

html body .rv-contacto__dato--principal {
  border-color: var(--rv-acento);
  background: var(--rv-acento);
  color: #fff;
}

html body .rv-contacto__dato--principal span {
  color: #d9bd6c;
}

html body .rv-contacto__dato--principal small {
  color: #cfe1df;
}

.rv-contacto__formulario {
  padding: 34px 36px 38px;
  border-top: 3px solid var(--rv-acento);
  background: #f5f6f6;
}

.rv-contacto__formulario h2 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: none;
  color: var(--rv-tinta);
}

.rv-contacto__formulario h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--rv-acento);
}

.rv-contacto__formulario .wpcf7-form p {
  margin: 0 0 18px;
}

.rv-contacto__formulario .wpcf7-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-tinta);
}

.rv-contacto__formulario .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.rv-contacto__formulario .wpcf7-form input[type='text'],
.rv-contacto__formulario .wpcf7-form input[type='email'],
.rv-contacto__formulario .wpcf7-form input[type='tel'],
.rv-contacto__formulario .wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dfe4e4;
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rv-contacto__formulario .wpcf7-form textarea {
  min-height: 150px;
}

.rv-contacto__formulario .wpcf7-form input:focus,
.rv-contacto__formulario .wpcf7-form textarea:focus {
  border-color: var(--rv-acento);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 74, 77, 0.08);
}

.rv-contacto__formulario .wpcf7-submit {
  min-height: 52px;
  padding: 0 36px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: var(--rv-acento);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
}

.rv-contacto__formulario .wpcf7-submit:hover {
  border-color: var(--rv-verde-osc, #0a3538);
  background: var(--rv-verde-osc, #0a3538);
}

.rv-contacto__formulario .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--rv-oferta);
}

.rv-contacto__formulario .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 0;
  border-left: 3px solid var(--rv-acento);
  background: #fff;
  font-size: 13.5px;
}

.rv-contacto__mapa {
  margin-top: 40px;
  overflow: hidden;
  background: #eee;
}

.rv-contacto__mapa iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  border: 0;
  filter: grayscale(0.25);
}

@media (max-width: 921px) {
  .rv-contacto__rejilla {
    grid-template-columns: 1fr;
  }

  .rv-contacto__formulario {
    padding: 26px 20px 30px;
  }
}

html body .rv-contacto__dato,
html body .rv-contacto__dato * {
  text-decoration: none !important;
}

/* ======================================================================
 * Página de una noticia de perfumería
 * ====================================================================== */
html body.single-rv_noticia .entry-header {
  display: none;
}

.rv-nota {
  max-width: 820px;
  margin: 0 auto 56px;
}

.rv-nota__migas {
  margin: 12px 0 28px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #7a8586;
}

.rv-nota__migas a {
  color: var(--rv-acento);
  text-decoration: none;
}

.rv-nota__cabeza {
  margin-bottom: 28px;
}

.rv-nota__tema {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8912f;
}

.rv-nota__cabeza h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--rv-tinta);
}

.rv-nota__meta {
  margin: 0;
  font-size: 13.5px;
  color: #7a8586;
}

.rv-nota__foto {
  margin: 0 0 32px;
  background: #eee;
}

.rv-nota__foto img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rv-nota__foto figcaption {
  padding: 8px 2px 0;
  font-size: 12px;
  color: #8a9495;
}

.rv-nota__texto {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3d4a4b;
}

.rv-nota__extracto {
  margin: 0 0 20px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #2f3c3d;
}

.rv-nota__fuente {
  display: grid;
  gap: 8px;
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 3px solid var(--rv-acento);
  background: #f5f6f6;
}

.rv-nota__fuente span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8912f;
}

.rv-nota__fuente p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #566264;
}

.rv-nota__fuente a {
  justify-self: start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rv-acento);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.rv-nota__mas {
  max-width: 1240px;
  margin: 0 auto 72px;
}

.rv-nota__mas h2 {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rv-acento);
}

.rv-nota__todas {
  margin: 28px 0 0;
  text-align: center;
}

.rv-nota__todas a {
  color: var(--rv-acento);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

html body.single-rv_noticia,
html body.single-rv_noticia #content,
html body.single-rv_noticia #primary,
html body.single-rv_noticia .ast-container {
  background: #fff !important;
}


/* ================================================================== Carrito: versión final (APP-132)
   Cada perfume es una tarjeta con borde; el aviso es una franja fina; el resumen es una tarjeta firme. */
@media (min-width: 981px) {
  html body.woocommerce-cart .woocommerce {
    row-gap: 22px;
  }
}

html body.woocommerce-cart .woocommerce-notices-wrapper:empty {
  display: none;
}

html body.woocommerce-cart .woocommerce-message,
html body.woocommerce-cart .woocommerce-info {
  margin: 0 0 22px !important;
  padding: 14px 18px !important;
  border: 1px solid #dfe9e9 !important;
  border-left: 3px solid var(--rv-acento) !important;
  background: #f4f8f8 !important;
  color: var(--rv-tinta);
  font-size: 14px;
  outline: 0 !important;
  box-shadow: none !important;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item {
  grid-template-columns: 124px minmax(0, 1fr) auto;
  grid-template-areas:
    'foto nombre subtotal'
    'foto precio subtotal'
    'foto cantidad quitar';
  gap: 6px 26px;
  margin: 0 0 16px;
  padding: 22px !important;
  border: 1px solid #e3e9e9 !important;
  background: #fff;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item:first-child {
  padding-top: 22px !important;
  border-top: 1px solid #e3e9e9 !important;
}

html body.woocommerce-cart td.product-thumbnail a {
  background: #f1f3f3;
}

html body.woocommerce-cart td.product-thumbnail img {
  width: 124px !important;
  height: 124px !important;
}

html body.woocommerce-cart td.product-name {
  align-self: start;
  padding-top: 2px !important;
}

html body.woocommerce-cart td.product-name a {
  font-size: 1.05rem;
}

html body.woocommerce-cart td.product-name .variation {
  display: grid;
  gap: 2px;
  margin: 6px 0 0;
}

html body.woocommerce-cart td.product-name .variation dt {
  display: inline;
  float: none;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  color: var(--rv-dorado, #b8912f);
}

html body.woocommerce-cart td.product-name .variation dd,
html body.woocommerce-cart td.product-name .variation dd p {
  display: block;
  margin: 0;
  font-size: 12.5px;
  color: #6b7778;
}

html body.woocommerce-cart td.product-price {
  align-self: start;
  font-size: 12.5px;
  color: #8a9596;
}

html body.woocommerce-cart td.product-subtotal {
  font-size: 1.05rem;
}

html body.woocommerce-cart td.product-quantity .quantity {
  border: 1px solid #cfd8d8;
}

html body.woocommerce-cart td.product-remove a.remove {
  color: #5d6b6c !important;
  opacity: 1 !important;
}

html body.woocommerce-cart td.product-remove a.remove:hover::after {
  color: #a33a2a;
}

html body.woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid #e3e9e9;
  background: #fff;
  padding: 26px 26px 22px;
}

html body.woocommerce-cart table.shop_table.cart tr:not(.cart_item) td.actions {
  padding: 18px 0 0 !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      'foto nombre'
      'foto precio'
      'cantidad subtotal'
      'quitar quitar';
    gap: 8px 16px;
    padding: 16px !important;
  }

  html body.woocommerce-cart td.product-thumbnail img {
    width: 88px !important;
    height: 88px !important;
  }

  html body.woocommerce-cart td.product-subtotal {
    align-self: center;
  }

  html body.woocommerce-cart td.product-remove {
    justify-self: start;
  }
}

@media (min-width: 981px) {
  html body.woocommerce-cart .woocommerce-cart-form {
    grid-row: 2 / span 2;
    align-self: start;
  }

  html body.woocommerce-cart .cart-collaterals {
    grid-row: 2 / span 2;
    align-self: start;
  }

  html body.woocommerce-cart .woocommerce {
    row-gap: 0;
  }
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-areas:
      'foto nombre'
      'foto precio'
      'cantidad cantidad'
      'quitar subtotal';
    align-items: center;
  }

  html body.woocommerce-cart td.product-subtotal {
    justify-self: end;
    font-size: 1.1rem;
  }

  html body.woocommerce-cart td.product-quantity {
    margin-top: 6px;
  }
}

/* ============================================================ Carrito: ajustes de proporción (APP-132) */
html body.woocommerce-cart table.shop_table.cart tr.cart_item {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-template-areas:
    'foto nombre subtotal'
    'foto precio subtotal'
    'foto cantidad quitar';
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail {
  grid-row: 1 / span 3;
  align-self: stretch;
  background: #eeeeee !important;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail a {
  display: flex;
  height: 100%;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
  width: 124px !important;
  height: 124px !important;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name { padding: 22px 0 0 24px !important; }
html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price { padding: 6px 0 0 24px !important; }
html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal { padding: 22px 24px 0 16px !important; }
html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity { padding: 12px 0 22px 24px !important; }
html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove { padding: 12px 24px 22px 16px !important; }

html body.woocommerce-cart td.product-quantity .quantity {
  height: 34px;
}

html body.woocommerce-cart td.product-quantity .qty {
  width: 38px !important;
  min-height: 32px !important;
  height: 32px;
  font-size: 13px;
}

html body.woocommerce-cart td.product-quantity .minus,
html body.woocommerce-cart td.product-quantity .plus,
html body.woocommerce-cart td.product-quantity .ast-qty-btn {
  width: 30px !important;
  height: 32px !important;
  min-height: 0 !important;
  font-size: 14px !important;
  line-height: 1;
}

html body.woocommerce-cart .cart_totals > h2 {
  margin: 0 0 16px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e9e9 !important;
  text-align: left;
  font-size: 1.15rem;
}

html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  min-height: 44px !important;
  padding: 0 20px !important;
  line-height: 44px !important;
  font-size: 12.5px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      'foto nombre'
      'foto precio'
      'foto cantidad'
      'quitar subtotal';
    padding: 0 !important;
  }

  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail a { min-height: 96px; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 76px !important; height: 76px !important; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name { padding: 14px 14px 0 14px !important; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price { padding: 4px 14px 0 14px !important; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity { padding: 10px 14px 14px 14px !important; margin: 0; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove { padding: 0 14px 14px 14px !important; justify-self: start; }
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal { padding: 0 14px 14px 14px !important; }
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item:first-child {
  padding: 0 !important;
}

/* ============================================================ Carrito: tercera pasada (APP-132) */
/* La foto del perfume llena todo el recuadro (sin fondo añadido: usa el suyo). */
html body.woocommerce-cart table.shop_table.cart tr.cart_item {
  grid-template-columns: 170px minmax(0, 1fr) auto;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail {
  background: transparent !important;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail a {
  display: block;
  height: 100%;
  min-height: 170px;
  background: transparent;
}

html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 170px;
  max-width: none;
  object-fit: cover;
  mix-blend-mode: normal;
}

/* «Eliminar» como icono de papelera. */
html body.woocommerce-cart td.product-remove a.remove {
  display: grid !important;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #dfe5e5;
  background: #fff !important;
  color: #5d6b6c !important;
  font-size: 0 !important;
}

html body.woocommerce-cart td.product-remove a.remove::after {
  content: '' !important;
  width: 16px;
  height: 16px;
  border: 0 !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 10v6M14 10v6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 10v6M14 10v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html body.woocommerce-cart td.product-remove a.remove:hover {
  border-color: #a33a2a;
  color: #a33a2a !important;
}

html body.woocommerce-cart td.product-remove a.remove:hover::after {
  color: #a33a2a;
}

/* Título del resumen sin línea inferior; sin línea bajo el botón de pago. */
html body.woocommerce-cart .cart_totals > h2 {
  padding: 0 !important;
  border: 0 !important;
}

html body.woocommerce-cart .rv-bolsa__garantias {
  border-top: 0 !important;
  padding-top: 0;
}

/* Avisos (p. ej. «Costes de envío actualizados»): icono alineado con el texto. */
html body.woocommerce-cart .woocommerce-message,
html body.woocommerce-cart .woocommerce-info {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

html body.woocommerce-cart .woocommerce-message::before,
html body.woocommerce-cart .woocommerce-info::before {
  position: static !important;
  flex: 0 0 auto;
  margin: 0 !important;
  line-height: 1;
  color: var(--rv-acento);
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail a,
  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
    min-height: 110px;
  }

  html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
  }
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  width: 36px !important;
  height: 36px !important;
  border: 1px solid #dfe5e5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #5d6b6c !important;
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
  border-color: #a33a2a !important;
  color: #a33a2a !important;
}

html body.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before {
  content: none !important;
}

/* Power Coupons (plugin del sitio vivo): «Ver cupones disponibles» como acción secundaria, debajo del botón principal. */
html body.woocommerce-cart .power-coupons-drawer-trigger-wrapper {
  order: 2;
  margin: 0 0 10px;
}

html body.woocommerce-cart #power-coupons-view-coupons-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--rv-acento);
  border-radius: 0;
  background: transparent;
  color: var(--rv-acento);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

html body.woocommerce-cart #power-coupons-view-coupons-btn:hover {
  background: var(--rv-acento);
  color: #fff;
}
