/* =========================================================
   HONFLEUR INSIDER
   MES FAVORIS
   LOT 1
   ========================================================= */


/* =========================================================
   COEUR GENERIQUE
   ========================================================= */

.rdh-favori-toggle,
.rdh-favoris-heart {
  display:flex;
  align-items:center;
  justify-content:center;

  width:40px;
  height:40px;

  padding:0;

  border:0;
  border-radius:50%;

  background:#f2f5fa;
  color:#10235a;

  font:inherit;
  font-size:25px;
  line-height:1;

  cursor:pointer;

  box-shadow:
    0 5px 16px rgba(16,35,90,.08);
}


.rdh-favori-toggle.is-active,
.rdh-favoris-heart.is-active {
  background:#fff1f3;
  color:#d73a58;
}


/* =========================================================
   ESSENTIELS - COEUR PILOTE
   ========================================================= */

.rdh-essentiel-actions
.rdh-favori-toggle {
  align-self:center;

  width:38px;
  height:38px;

  min-width:38px;
  min-height:38px;

  font-size:23px;
}


/* =========================================================
   PAGE
   ========================================================= */

.rdh-favoris-page {
  width:100%;
  max-width:900px;

  margin:0 auto;

  padding:
    20px
    16px
    130px;

  box-sizing:border-box;
}


.rdh-favoris-hero {
  display:flex;
  align-items:flex-start;

  gap:14px;

  margin:0;
  padding:8px 2px 24px;
}


.rdh-favoris-back {
  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 46px;

  width:46px;
  height:46px;

  padding:0;

  border:0;
  border-radius:15px;

  background:#ffffff;
  color:#10235a;

  cursor:pointer;

  box-shadow:
    0 8px 24px rgba(16,35,90,.07);
}


.rdh-favoris-back svg {
  width:22px;
  height:22px;

  fill:none;
  stroke:currentColor;

  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}


.rdh-favoris-hero h1 {
  margin:0;

  color:#10235a;

  font-size:32px;
  line-height:1.08;
  font-weight:800;
}


.rdh-favoris-hero p {
  margin:7px 0 0;

  color:#7783a4;

  font-size:16px;
  line-height:1.4;
}


/* =========================================================
   LISTE
   ========================================================= */

.rdh-favoris-list {
  display:flex;
  flex-direction:column;

  gap:12px;
}


.rdh-favoris-card {
  position:relative;

  display:grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  gap:16px;

  align-items:center;

  width:100%;

  padding:18px 18px 18px 70px;

  border-radius:24px;

  background:#ffffff;

  box-sizing:border-box;

  box-shadow:
    0 8px 24px rgba(16,35,90,.06);
}


.rdh-favoris-heart {
  position:absolute;

  top:18px;
  left:16px;
}


.rdh-favoris-card-main {
  min-width:0;
}


.rdh-favoris-card h2 {
  margin:0;

  color:#10235a;

  font-size:19px;
  line-height:1.2;
  font-weight:800;
}


.rdh-favoris-category {
  margin-top:4px;

  color:#58698f;

  font-size:13px;
  line-height:1.3;
  font-weight:700;
}


.rdh-favoris-address {
  margin-top:7px;

  color:#7783a4;

  font-size:13px;
  line-height:1.4;
}


.rdh-favoris-opening {
  margin-top:8px;

  font-size:13px;
  line-height:1.3;
  font-weight:800;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.rdh-favoris-actions {
  display:flex;
  flex-direction:column;

  gap:7px;
}


.rdh-favoris-call,
.rdh-favoris-guide,
.rdh-favoris-remove {
  display:flex;
  align-items:center;
  justify-content:center;

  min-width:96px;
  min-height:40px;

  padding:0 13px;

  border:0;
  border-radius:13px;

  box-sizing:border-box;

  font:inherit;
  font-size:12px;
  font-weight:850;

  text-decoration:none;
  white-space:nowrap;

  cursor:pointer;
}


.rdh-favoris-call,
.rdh-favoris-remove {
  background:#eef3f8;
  color:#10235a;
}


.rdh-favoris-guide {
  background:#10235a;
  color:#ffffff;
}


/* =========================================================
   VIDE
   ========================================================= */

.rdh-favoris-empty {
  padding:32px 22px;

  border-radius:24px;

  background:#ffffff;

  color:#657394;

  text-align:center;

  font-size:15px;
  line-height:1.5;

  box-shadow:
    0 8px 24px rgba(16,35,90,.06);
}


.rdh-favoris-empty strong {
  display:block;

  margin-bottom:6px;

  color:#10235a;

  font-size:18px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:600px) {

  .rdh-favoris-page {
    padding-left:12px;
    padding-right:12px;
  }


  .rdh-favoris-card {
    grid-template-columns:1fr;

    padding:
      16px
      16px
      16px
      66px;
  }


  .rdh-favoris-actions {
    grid-column:1 / -1;

    flex-direction:row;

    margin-left:-50px;
    margin-top:4px;
  }


  .rdh-favoris-call,
  .rdh-favoris-guide,
  .rdh-favoris-remove {
    flex:1;
  }

}

/* =========================================================
   MES FAVORIS - LOT 2B
   ========================================================= */

.rdh-event-card,
.rdh-cdc-favoris-wrap,
.rdh-cdc-single-title-row {
  position:relative;
}


.rdh-agenda-favori-toggle {
  position:absolute;
  z-index:5;

  top:12px;
  right:12px;
}


.rdh-cdc-favoris-wrap {
  width:100%;
}


.rdh-cdc-favori-toggle {
  position:absolute;
  z-index:5;

  top:12px;
  right:12px;
}


.rdh-cdc-single-title-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:14px;
}


.rdh-cdc-single-title-row h1 {
  min-width:0;
}


.rdh-cdc-single-title-row
.rdh-cdc-favori-toggle {
  position:static;
  flex:0 0 40px;
}



/* =========================================================
   RDH_FAVORIS_GOLD_STAR_V1
   Mes favoris = étoile personnelle
   Coups de coeur = univers éditorial distinct
   ========================================================= */

.rdh-favori-toggle,
.rdh-favoris-heart {
    color: #b48a2c;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-weight: 400;
}


.rdh-favori-toggle.is-active,
.rdh-favoris-heart.is-active {
    color: #c59a2f;
}


/*
 * Etoile suffisamment lisible sur mobile,
 * sans modifier la géométrie des boutons.
 */
.rdh-favori-toggle {
    line-height: 1;
}


.rdh-favori-toggle.is-active {
    text-shadow:
        0 1px 1px
        rgba(0, 0, 0, 0.08);
}



/* =========================================================
   RDH_FAVORIS_LOT2C_V1
   CINEMA + MARCHES
   ========================================================= */


/* CINEMA */

.rdh-movie-card {
    position: relative;
}


.rdh-cinema-favori-toggle {
    position: absolute;
    z-index: 8;

    top: 12px;
    right: 12px;
}


/* MARCHES */

.rdh-market-card,
.rdh-market-today-item {
    position: relative;
}


.rdh-market-favori-toggle {
    position: absolute;
    z-index: 8;

    top: 12px;
    right: 12px;
}


/*
 * L'étoile Favori occupe uniquement l'angle supérieur droit.
 * On réserve donc son espace uniquement au titre.
 */
.rdh-market-card .rdh-market-title {
    padding-right: 44px;
}


.rdh-market-today-main > strong:first-child {
    padding-right: 38px;
}


/* RDH_FAVORIS_ACTIVE_THEME_START */
/* =========================================================
   THEME ACTIF FAVORIS
   OPTION 2 - BLEU MARINE DOUX
   ========================================================= */

.rdh-favori-toggle.is-active,
.rdh-favoris-heart.is-active {
    background: #EAF0FA;
    color: #C59A2F;
    box-shadow:
        inset 0 0 0 1px #C9D6EE,
        0 5px 16px rgba(16,35,90,.08);
}

/* RDH_FAVORIS_ACTIVE_THEME_END */


/* =========================================================
   RDH_FAVORIS_CUSTOM_CSS_V1
   ADRESSE PERSONNELLE
   ========================================================= */

.rdh-favoris-custom {
  margin:0 0 18px;
}


.rdh-favoris-custom-open {
  display:flex;
  align-items:center;
  justify-content:center;

  gap:9px;

  width:100%;

  min-height:50px;

  padding:0 18px;

  border:1px solid #dbe3ef;
  border-radius:17px;

  background:#ffffff;
  color:#10235a;

  font:inherit;
  font-size:14px;
  font-weight:800;

  cursor:pointer;

  box-shadow:
    0 6px 20px rgba(16,35,90,.05);
}


.rdh-favoris-custom-open-star {
  color:#c59a2f;

  font-size:22px;
  line-height:1;
}


.rdh-favoris-custom-panel {
  margin-top:12px;

  padding:18px;

  border-radius:22px;

  background:#ffffff;

  box-shadow:
    0 8px 28px rgba(16,35,90,.07);
}


.rdh-favoris-custom-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:14px;

  margin-bottom:18px;
}


.rdh-favoris-custom-head > div {
  display:flex;
  flex-direction:column;

  gap:4px;
}


.rdh-favoris-custom-head strong {
  color:#10235a;

  font-size:18px;
}


.rdh-favoris-custom-head span {
  color:#7783a4;

  font-size:13px;
  line-height:1.4;
}


.rdh-favoris-custom-close {
  flex:0 0 36px;

  width:36px;
  height:36px;

  border:0;
  border-radius:50%;

  background:#f2f5fa;
  color:#10235a;

  font-size:24px;
  line-height:1;

  cursor:pointer;
}


.rdh-favoris-custom-field {
  margin-bottom:13px;
}


.rdh-favoris-custom-field label {
  display:block;

  margin-bottom:6px;

  color:#10235a;

  font-size:13px;
  font-weight:800;
}


.rdh-favoris-custom-field label span {
  color:#8c97b2;

  font-size:11px;
  font-weight:600;
}


.rdh-favoris-custom-field input {
  width:100%;
  min-height:48px;

  padding:0 14px;

  border:1px solid #dce3ee;
  border-radius:14px;

  background:#f9fbfd;
  color:#10235a;

  box-sizing:border-box;

  font:inherit;
  font-size:15px;

  outline:none;
}


.rdh-favoris-custom-field input:focus {
  border-color:#aebed8;

  background:#ffffff;

  box-shadow:
    0 0 0 3px rgba(16,35,90,.05);
}


.rdh-favoris-custom-search-button,
.rdh-favoris-custom-save {
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;

  min-height:46px;

  padding:0 16px;

  border:0;
  border-radius:14px;

  background:#10235a;
  color:#ffffff;

  font:inherit;
  font-size:13px;
  font-weight:850;

  cursor:pointer;
}


.rdh-favoris-custom-search-button:disabled,
.rdh-favoris-custom-save:disabled {
  opacity:.45;

  cursor:default;
}


.rdh-favoris-custom-message {
  min-height:18px;

  margin:10px 2px;

  color:#7783a4;

  font-size:12px;
  line-height:1.4;
}


.rdh-favoris-custom-message[data-state="error"] {
  color:#b13b4d;
}


.rdh-favoris-custom-message[data-state="success"] {
  color:#557159;
}


.rdh-favoris-custom-results {
  display:flex;
  flex-direction:column;

  gap:7px;
}


.rdh-favoris-custom-result {
  display:flex;
  flex-direction:column;
  align-items:flex-start;

  gap:3px;

  width:100%;

  padding:12px 13px;

  border:1px solid #e1e7f0;
  border-radius:13px;

  background:#ffffff;
  color:#10235a;

  text-align:left;

  cursor:pointer;
}


.rdh-favoris-custom-result strong {
  font-size:13px;
}


.rdh-favoris-custom-result span {
  color:#7783a4;

  font-size:11px;
  line-height:1.35;
}


.rdh-favoris-custom-selection {
  margin-top:14px;

  padding:14px;

  border-radius:15px;

  background:#EAF0FA;

  box-shadow:
    inset 0 0 0 1px #C9D6EE;
}


.rdh-favoris-custom-selected-label {
  margin-bottom:5px;

  color:#7783a4;

  font-size:11px;
  font-weight:700;

  text-transform:uppercase;
  letter-spacing:.04em;
}


.rdh-favoris-custom-selection strong {
  display:block;

  margin-bottom:12px;

  color:#10235a;

  font-size:13px;
  line-height:1.4;
}


.rdh-favoris-custom-save {
  background:#10235a;
}


@media (max-width:600px) {

  .rdh-favoris-custom-panel {
    padding:15px;
  }

}



/* =========================================================
   RDH_FAVORIS_PLACE_ALIAS_CSS_V1
   ALIAS PERSONNEL + NOM CANONIQUE HI
   ========================================================= */

.rdh-favoris-real-name {
  margin-top:4px;

  color:#58698f;

  font-size:14px;
  line-height:1.35;
  font-weight:750;
}



/* =========================================================
   RDH_FAVORIS_SMART_SORT_CSS_V1
   CLASSEMENT INTELLIGENT
   ========================================================= */

.rdh-favoris-section-title {
  margin:
    24px
    4px
    10px;

  color:#10235a;

  font-size:17px;
  line-height:1.2;
  font-weight:850;
}


.rdh-favoris-section-title:first-child {
  margin-top:4px;
}


.rdh-favoris-section {
  display:flex;
  flex-direction:column;

  gap:12px;
}


.rdh-favoris-smart-date {
  display:inline-flex;

  width:max-content;
  max-width:100%;

  margin-top:7px;

  padding:5px 9px;

  border-radius:9px;

  background:#EAF0FA;
  color:#10235a;

  font-size:12px;
  line-height:1.25;
  font-weight:800;

  box-shadow:
    inset 0 0 0 1px #C9D6EE;
}


.rdh-favoris-section--expired
.rdh-favoris-smart-date {
  background:#f1f2f5;
  color:#788196;

  box-shadow:
    inset 0 0 0 1px #dde1e8;
}


.rdh-favoris-section--expired
.rdh-favoris-card {
  opacity:.78;
}


.rdh-favoris-section--upcoming
.rdh-favoris-smart-date {
  color:#10235a;
}


@media (max-width:600px) {

  .rdh-favoris-section-title {
    margin-top:21px;
  }

}

