/*
 * Belgique-Labrador
 * Design Web V2
 *
 * Principe :
 * - site web unique responsive ;
 * - desktop, tablette et mobile ;
 * - aucune transformation en pseudo-application ;
 * - couche de finition au-dessus du CSS historique.
 */

/* =========================================================
   1. FONDATIONS
   ========================================================= */

:root {
  --bl-v2-page-max: 1440px;
  --bl-v2-content-max: 1180px;
  --bl-v2-gap: clamp(12px, 1.5vw, 22px);
  --bl-v2-radius: 18px;
  --bl-v2-radius-small: 12px;
  --bl-v2-border: rgba(9, 35, 74, .10);
  --bl-v2-shadow: 0 10px 28px rgba(9, 35, 74, .07);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

/* =========================================================
   2. ESPACE MEMBRE — BARRE SUPÉRIEURE
   ========================================================= */

.club-feed-topbar {
  width: min(var(--bl-v2-page-max), calc(100% - 24px));
  margin: 10px auto 0;
  padding: 10px 14px;
  border-radius: var(--bl-v2-radius);
  box-shadow: var(--bl-v2-shadow);
}

.club-feed-brand strong {
  font-size: clamp(18px, 2vw, 21px);
}

.club-feed-nav {
  gap: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.club-feed-nav a {
  padding: 8px 11px;
  font-size: 14px;
}

/* =========================================================
   3. FIL DU CLUB — ÉCRAN LARGE
   ========================================================= */

.club-feed-shell {
  width: min(var(--bl-v2-page-max), calc(100% - 24px));
  grid-template-columns: 250px minmax(0, 1fr) 280px;
  gap: var(--bl-v2-gap);
  margin-top: 14px;
}

.club-member-mini-card,
.club-side-card,
.club-compose-card,
.club-post-card {
  border-radius: var(--bl-v2-radius);
  box-shadow: var(--bl-v2-shadow);
}

.club-member-mini-card {
  padding: 18px;
}

.club-member-avatar {
  width: 96px;
  height: 96px;
  font-size: 40px;
}

.club-compose-card,
.club-side-card {
  padding: 16px;
}

.club-post-card {
  padding: 16px;
}

/* =========================================================
   4. TABLETTE
   ========================================================= */

@media (max-width: 1100px) {
  .club-feed-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .club-feed-right {
    display: none;
  }
}

/* =========================================================
   5. MOBILE / PETITE TABLETTE
   ========================================================= */

@media (max-width: 820px) {
  .club-feed-page {
    background: #f4f7f1;
  }

  .club-feed-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 9px 10px 7px;
    gap: 7px;
  }

  .club-feed-brand {
    padding: 0 3px;
  }

  .club-feed-brand span {
    font-size: 12px;
  }

  .club-feed-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .club-feed-nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 13px;
  }

  .club-feed-shell {
    width: 100%;
    margin: 8px auto 24px;
    padding: 0 8px;
    display: block;
  }

  .club-feed-center {
    width: 100%;
  }

  .club-feed-left,
  .club-feed-right {
    display: none;
  }

  .club-compose-card,
  .club-post-card,
  .messages-shell,
  .notifications-shell,
  .public-profile-shell {
    border-radius: 15px;
  }

  .club-compose-card {
    margin-bottom: 10px;
    padding: 13px;
  }

  .club-post-card {
    padding: 13px;
  }

  .club-post-image {
    border-radius: 13px;
  }

  .club-post-actions {
    gap: 6px;
  }

  .club-post-actions button,
  .reaction-count {
    padding: 8px 10px;
    font-size: 13px;
  }

  .club-comment-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* =========================================================
   6. PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 480px) {
  .club-feed-topbar {
    padding-left: 8px;
    padding-right: 8px;
  }

  .club-feed-brand strong {
    font-size: 17px;
  }

  .club-feed-nav a {
    font-size: 12px;
    padding: 7px 9px;
  }

  .club-feed-shell {
    padding-left: 5px;
    padding-right: 5px;
  }

  .club-compose-card,
  .club-post-card {
    padding: 11px;
    border-radius: 12px;
  }

  .club-feed-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .club-feed-avatar.small {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .club-comment {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
  }

  .club-feed-avatar.tiny {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

/* =========================================================
   7. V2 — COMPACTAGE GÉNÉRAL ESPACE MEMBRE
   ========================================================= */

.club-feed-topbar,
.notifications-shell,
.messages-shell,
.member-directory-shell,
.public-profile-shell {
  box-sizing: border-box;
}

.club-feed-topbar {
  min-height: 62px;
}

.club-feed-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.club-feed-nav a {
  white-space: nowrap;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}

.club-feed-nav a:hover {
  transform: translateY(-1px);
}

/* =========================================================
   8. FIL DU CLUB
   ========================================================= */

.club-post-list {
  gap: 12px;
}

.club-post-card {
  border: 1px solid var(--bl-v2-border);
}

.club-post-head {
  gap: 10px;
}

.club-post-body {
  line-height: 1.55;
}

.club-post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.club-side-card {
  position: relative;
}

.club-feed-left,
.club-feed-right {
  min-width: 0;
}

/* =========================================================
   9. MESSAGERIE
   ========================================================= */

.messages-shell {
  width: min(1180px, calc(100% - 24px));
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 14px;
}

.messages-sidebar,
.messages-panel,
.messages-new-card,
.messages-empty-panel {
  border-radius: 18px;
  box-shadow: var(--bl-v2-shadow);
}

.messages-sidebar {
  padding: 10px;
  gap: 10px;
}

.messages-new-card {
  padding: 14px;
}

.messages-new-card h1 {
  font-size: clamp(24px, 2.4vw, 31px);
}

.conversation-list {
  gap: 6px;
}

.conversation-item {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  border-radius: 13px;
  padding: 8px;
}

.message-avatar {
  width: 42px;
  height: 42px;
}

.messages-panel {
  min-height: 600px;
}

.messages-thread-head {
  padding: 14px;
}

.messages-thread-head h2 {
  font-size: 25px;
}

.messages-thread {
  padding: 14px;
  gap: 8px;
}

.private-message {
  max-width: min(620px, 78%);
  border-radius: 16px;
  padding: 9px 11px;
}

.message-reply-form {
  padding: 10px;
}

/* =========================================================
   10. NOTIFICATIONS
   ========================================================= */

.notifications-shell {
  width: min(900px, calc(100% - 24px));
  gap: 10px;
}

.notifications-header,
.notification-card {
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--bl-v2-shadow);
}

.notifications-header h1 {
  font-size: clamp(28px, 3vw, 42px);
}

.notifications-list {
  gap: 9px;
}

.notification-card h2 {
  font-size: clamp(19px, 2vw, 25px);
}

.notification-top {
  margin-bottom: 7px;
}

.notification-actions {
  margin-top: 10px;
}

/* =========================================================
   11. PROFIL MEMBRE
   ========================================================= */

.member-profile-card {
  width: min(980px, calc(100% - 24px));
  margin: 18px auto 32px;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--bl-v2-shadow);
}

.member-profile-card h1 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.member-profile-card h2 {
  font-size: clamp(22px, 2.3vw, 30px);
}

.member-profile-top {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
}

.member-profile-avatar {
  width: 96px;
  height: 96px;
  font-size: 38px;
}

.member-profile-grid {
  gap: 12px;
}

/* =========================================================
   12. ANNUAIRE MEMBRES
   ========================================================= */

.member-directory-shell {
  width: min(1180px, calc(100% - 24px));
  gap: 14px;
}

.member-directory-header,
.member-directory-card {
  border-radius: 18px;
  box-shadow: var(--bl-v2-shadow);
}

.member-directory-header {
  padding: clamp(18px, 3vw, 30px);
}

.member-directory-header h1 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.member-directory-search {
  grid-template-columns: minmax(0, 1fr) 190px auto;
  margin-top: 14px;
}

.member-directory-grid {
  gap: 12px;
}

.member-directory-card {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 11px;
  padding: 14px;
}

.member-directory-avatar {
  width: 62px;
  height: 62px;
  font-size: 24px;
}

.member-directory-info h2 {
  font-size: 21px;
}

.member-directory-actions {
  gap: 6px;
}

/* =========================================================
   13. PROFIL PUBLIC
   ========================================================= */

.public-profile-shell {
  width: min(1100px, calc(100% - 24px));
  gap: 14px;
}

.public-profile-hero,
.public-profile-section {
  border-radius: 18px;
  box-shadow: var(--bl-v2-shadow);
}

.public-profile-hero {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.public-profile-avatar {
  width: 130px;
  height: 130px;
  font-size: 50px;
}

.public-profile-hero h1 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.public-profile-section {
  padding: clamp(18px, 3vw, 26px);
}

.public-dog-grid {
  gap: 10px;
}

.public-dog-card {
  border-radius: 15px;
  padding: 13px;
}

/* =========================================================
   14. TABLETTE
   ========================================================= */

@media (max-width: 980px) {

  .messages-shell {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .member-directory-grid,
  .public-dog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-directory-search {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   15. MOBILE WEB
   ========================================================= */

@media (max-width: 760px) {

  .club-feed-brand span {
    display: none;
  }

  .messages-shell,
  .notifications-shell,
  .member-directory-shell,
  .public-profile-shell,
  .member-profile-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .messages-shell {
    display: block;
    padding: 0 7px 24px;
  }

  .messages-sidebar {
    margin-bottom: 8px;
  }

  .messages-panel {
    min-height: 480px;
  }

  .private-message {
    max-width: 88%;
  }

  .notifications-shell {
    padding: 0 7px 24px;
  }

  .notifications-header,
  .notification-card {
    padding: 13px;
    border-radius: 14px;
  }

  .notification-top {
    flex-direction: column;
    gap: 4px;
  }

  .member-profile-card {
    border-radius: 0;
    padding: 16px 12px 24px;
  }

  .member-profile-top {
    grid-template-columns: 72px minmax(0, 1fr);
    text-align: left;
  }

  .member-profile-avatar {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .member-profile-grid {
    grid-template-columns: 1fr;
  }

  .member-directory-shell,
  .public-profile-shell {
    padding: 0 7px 24px;
  }

  .member-directory-grid,
  .public-dog-grid {
    grid-template-columns: 1fr;
  }

  .member-directory-header,
  .member-directory-card,
  .public-profile-hero,
  .public-profile-section {
    border-radius: 14px;
  }

  .member-directory-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .member-directory-avatar {
    width: 54px;
    height: 54px;
  }

  .public-profile-hero {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .public-profile-avatar {
    width: 82px;
    height: 82px;
    font-size: 32px;
  }

  .public-profile-actions,
  .member-directory-actions,
  .notification-actions {
    gap: 6px;
  }
}

/* =========================================================
   16. PETITS TÉLÉPHONES 360–430 PX
   ========================================================= */

@media (max-width: 430px) {

  .club-feed-nav a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .messages-shell,
  .notifications-shell,
  .member-directory-shell,
  .public-profile-shell {
    padding-left: 5px;
    padding-right: 5px;
  }

  .messages-sidebar,
  .messages-panel,
  .notifications-header,
  .notification-card,
  .member-directory-header,
  .member-directory-card,
  .public-profile-hero,
  .public-profile-section {
    border-radius: 11px;
  }

  .conversation-item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .message-avatar {
    width: 38px;
    height: 38px;
  }

  .messages-thread {
    padding: 10px;
  }

  .private-message {
    max-width: 91%;
    font-size: 14px;
  }

  .member-directory-card {
    padding: 11px;
  }

  .member-directory-info h2 {
    font-size: 19px;
  }

  .public-profile-hero {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .public-profile-avatar {
    width: 68px;
    height: 68px;
  }
}


/* =========================================================
   FIL DU CLUB V3 — UX SOCIALE MODERNE
   ========================================================= */

.club-feed-page {
  background: #f4f6f8;
}

.club-feed-topbar {
  width: min(1320px, calc(100% - 28px));
  min-height: 58px;
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(9,35,74,.07);
  box-shadow: 0 5px 22px rgba(9,35,74,.06);
}

.club-feed-brand strong {
  font-size: 18px;
  letter-spacing: -.2px;
}

.club-feed-brand span {
  font-size: 11px;
}

.club-feed-nav-desktop {
  gap: 4px;
}

.club-feed-nav-desktop > a,
.club-more-menu > summary {
  border: 0;
  background: transparent;
  color: #40536c;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
}

.club-feed-nav-desktop > a:hover,
.club-more-menu > summary:hover,
.club-feed-nav-desktop > a.is-current {
  background: #edf3ef;
  color: #245a17;
}

.club-more-menu {
  position: relative;
}

.club-more-menu summary::-webkit-details-marker,
.club-compose-details summary::-webkit-details-marker,
.club-compose-options summary::-webkit-details-marker,
.club-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.club-more-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 230px;
  display: grid;
  gap: 3px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(9,35,74,.16);
  z-index: 100;
}

.club-more-menu-panel a {
  padding: 10px 11px;
  border-radius: 9px;
  text-decoration: none;
  color: #27415f;
  font-weight: 750;
  background: transparent;
}

.club-more-menu-panel a:hover {
  background: #f2f5f7;
}

.club-more-menu-panel .club-menu-danger {
  color: #9a3838;
}

.club-nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: #34721f;
  color: #fff;
  font-size: 10px;
}

.club-feed-shell {
  width: min(1320px, calc(100% - 28px));
  grid-template-columns: 220px minmax(0, 720px) 230px;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.club-member-mini-card,
.club-side-card,
.club-compose-card,
.club-post-card {
  border-radius: 15px;
  border-color: rgba(9,35,74,.07);
  box-shadow: 0 3px 14px rgba(9,35,74,.045);
}

.club-member-mini-card {
  padding: 18px 14px;
}

.club-member-avatar {
  width: 82px;
  height: 82px;
  font-size: 34px;
  margin-bottom: 11px;
  box-shadow: none;
}

.club-member-mini-card h1 {
  font-family: inherit;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 850;
}

.club-member-mini-card p {
  margin: 6px 0;
  font-size: 13px;
}

.club-member-links {
  margin-top: 12px;
}

.club-member-links a,
.club-side-card a {
  border-radius: 10px;
  background: #f1f4f6;
  padding: 9px 10px;
  font-size: 13px;
}

.club-compose-card-v3 {
  padding: 12px 14px;
  margin-bottom: 12px;
}

.club-compose-card-v3 .club-compose-head {
  margin: 0;
  width: 100%;
}

.club-compose-details {
  width: 100%;
}

.club-compose-details > summary {
  list-style: none;
  cursor: pointer;
}

.club-compose-prompt {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 0 15px;
  background: #f1f3f5;
  border-radius: 999px;
  color: #68788d;
  font-size: 15px;
}

.club-compose-details[open] .club-compose-prompt {
  margin-bottom: 12px;
}

.club-compose-details form {
  gap: 9px;
}

.club-compose-details textarea {
  min-height: 110px;
  border-radius: 12px;
  border: 1px solid #dfe5e9;
  font-size: 15px;
}

.club-compose-details input[type="text"] {
  border-radius: 12px;
}

.club-compose-options {
  border-top: 1px solid #edf0f2;
  padding-top: 8px;
}

.club-compose-options > summary {
  cursor: pointer;
  color: #52657c;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.club-compose-options[open] > summary {
  margin-bottom: 8px;
}

.club-compose-grid {
  grid-template-columns: 145px 1fr 1fr;
}

.club-compose-card button {
  padding: 10px 18px;
  box-shadow: none;
}

.club-post-list {
  gap: 10px;
}

.club-post-card {
  padding: 14px 16px;
}

.club-feed-avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.club-feed-avatar.small {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.club-post-head {
  gap: 9px;
}

.club-post-head strong {
  font-size: 14px;
}

.club-post-head small {
  font-size: 11px;
}

.club-post-card h2 {
  font-family: inherit;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
  margin: 12px 0 7px;
  letter-spacing: -.25px;
}

.club-post-body {
  font-size: 15px;
  line-height: 1.52;
  color: #314359;
}

.club-post-actions {
  padding-top: 8px;
  border-top: 1px solid #edf0f2;
  gap: 6px;
}

.club-post-actions button,
.club-post-actions a.button-small,
.reaction-count {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 9px;
}

.club-side-card {
  padding: 14px;
}

.club-side-card h2 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 850;
}

.club-side-card p {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.club-mobile-nav {
  display: none;
}

/* TABLETTE */
@media (max-width: 1050px) {

  .club-feed-shell {
    grid-template-columns: minmax(0, 720px) 220px;
  }

  .club-feed-left {
    display: none;
  }

  .club-feed-right {
    display: grid;
  }
}

/* MOBILE */
@media (max-width: 760px) {

  body {
    padding-bottom: 72px;
  }

  .club-feed-topbar {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .club-feed-brand span {
    display: none;
  }

  .club-feed-nav-desktop {
    display: none;
  }

  .club-feed-shell {
    display: block;
    width: min(100%, 640px);
    padding: 8px 7px 18px;
    margin: 0 auto;
  }

  .club-feed-left,
  .club-feed-right {
    display: none;
  }

  .club-compose-card-v3 {
    border-radius: 14px;
    padding: 10px;
  }

  .club-compose-prompt {
    min-height: 42px;
    font-size: 14px;
  }

  .club-compose-grid {
    grid-template-columns: 1fr;
  }

  .club-post-card {
    border-radius: 14px;
    padding: 12px;
  }

  .club-post-card h2 {
    font-size: 20px;
  }

  .club-post-actions {
    justify-content: space-between;
  }

  .club-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 64px;
    padding: 5px 5px max(5px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid #dfe5e9;
    box-shadow: 0 -5px 20px rgba(9,35,74,.07);
    backdrop-filter: blur(12px);
  }

  .club-mobile-nav > a,
  .club-mobile-nav > details > summary {
    min-width: 0;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #63738a;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    position: relative;
  }

  .club-mobile-nav > a.is-current {
    color: #245a17;
  }

  .club-mobile-icon {
    font-size: 21px;
    line-height: 1;
  }

  .club-mobile-nav > a b {
    position: absolute;
    top: 1px;
    right: 17%;
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #34721f;
    color: #fff;
    font-size: 9px;
  }

  .club-mobile-nav > details {
    position: static;
  }

  .club-mobile-more {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 70px;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dfe5e9;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(9,35,74,.18);
  }

  .club-mobile-more a {
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #28425f;
    background: #f5f7f8;
    font-size: 14px;
    font-weight: 750;
  }
}

/* PETITS MOBILES */
@media (max-width: 430px) {

  .club-feed-shell {
    padding-left: 5px;
    padding-right: 5px;
  }

  .club-compose-card-v3,
  .club-post-card {
    border-radius: 12px;
  }

  .club-post-actions button,
  .club-post-actions a.button-small,
  .reaction-count {
    font-size: 11px;
    padding: 7px 8px;
  }

  .club-mobile-nav > a,
  .club-mobile-nav > details > summary {
    font-size: 8px;
  }
}

/* =========================================================
   FIL DU CLUB V3.1 — POLISH VISUEL
   Objectif :
   - moins d'espaces morts
   - cartes plus compactes
   - hiérarchie visuelle plus nette
   - rendu plus moderne desktop/tablette/mobile
   ========================================================= */

.club-feed-topbar {
  width: min(1240px, calc(100% - 20px));
  min-height: 52px;
  padding: 6px 12px;
  border-radius: 14px;
  margin-top: 10px;
}

.club-feed-brand strong {
  font-size: 17px;
}

.club-feed-brand span {
  font-size: 10px;
  margin-top: -1px;
}

.club-feed-nav-desktop {
  gap: 2px;
}

.club-feed-nav-desktop > a,
.club-more-menu > summary {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 13px;
}

.club-feed-shell {
  width: min(1240px, calc(100% - 20px));
  grid-template-columns: 200px minmax(0, 1fr) 215px;
  gap: 12px;
  margin-top: 10px;
  align-items: start;
}

.club-feed-left,
.club-feed-right {
  align-self: start;
}

.club-member-mini-card,
.club-side-card,
.club-compose-card,
.club-post-card {
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(9,35,74,.04);
}

.club-member-mini-card {
  padding: 14px 12px;
}

.club-member-avatar {
  width: 70px;
  height: 70px;
  font-size: 30px;
  margin-bottom: 8px;
}

.club-member-mini-card h1 {
  font-size: 17px;
  line-height: 1.08;
  margin-bottom: 2px;
}

.club-member-mini-card p {
  font-size: 12px;
  margin: 4px 0;
}

.club-member-links {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.club-member-links a {
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 9px;
}

.club-side-card {
  padding: 12px;
}

.club-side-card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.club-side-card p {
  font-size: 12px;
  line-height: 1.42;
  margin-bottom: 10px;
}

.club-side-card a {
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 9px;
}

.club-compose-card-v3 {
  padding: 10px 12px;
  margin-bottom: 10px;
}

.club-compose-prompt {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.club-compose-details[open] .club-compose-prompt {
  margin-bottom: 10px;
}

.club-compose-details form {
  gap: 8px;
}

.club-compose-details textarea {
  min-height: 88px;
  border-radius: 10px;
  font-size: 14px;
}

.club-compose-details input[type="text"],
.club-compose-details input[type="url"],
.club-compose-details select,
.club-compose-details input[type="file"] {
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
}

.club-compose-options {
  padding-top: 6px;
}

.club-compose-options > summary {
  font-size: 12px;
}

.club-compose-grid {
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.club-compose-card button {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.club-post-list {
  gap: 8px;
}

.club-post-card {
  padding: 12px 14px;
}

.club-post-head {
  gap: 8px;
}

.club-feed-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.club-post-head strong {
  font-size: 13px;
}

.club-post-head small {
  font-size: 11px;
  line-height: 1.25;
}

.club-post-card h2 {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.22;
  margin: 8px 0 6px;
}

.club-post-body {
  font-size: 14px;
  line-height: 1.48;
}

.club-post-actions {
  padding-top: 6px;
  gap: 6px;
}

.club-post-actions button,
.club-post-actions a.button-small,
.reaction-count {
  padding: 6px 9px;
  font-size: 11px;
  border-radius: 8px;
}

.club-post-actions a[href*="publication"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 0 !important;
  border-radius: 0 !important;
  color: #1b4f97 !important;
  font-weight: 800 !important;
}

.club-post-actions a[href*="publication"]:hover {
  text-decoration: underline;
}

.club-post-actions .reaction-count {
  background: #eef4e8;
  color: #2d6719;
}

.club-post-actions button[type="submit"],
.club-post-actions .button-report,
.club-post-actions button[name="report"] {
  background: #f6f3eb;
}

.club-post-card hr,
.club-post-card .separator {
  margin: 8px 0;
}

.club-more-menu-panel {
  width: 210px;
  padding: 7px;
  border-radius: 12px;
  gap: 2px;
}

.club-more-menu-panel a {
  padding: 9px 10px;
  font-size: 13px;
  border-radius: 8px;
}

/* TABLETTE */
@media (max-width: 1180px) {
  .club-feed-shell {
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 10px;
  }

  .club-feed-left {
    display: none;
  }
}

@media (max-width: 980px) {
  .club-feed-shell {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 14px));
  }

  .club-feed-right {
    display: none;
  }

  .club-feed-topbar {
    width: min(760px, calc(100% - 14px));
  }
}

/* MOBILE */
@media (max-width: 760px) {

  .club-feed-topbar {
    width: 100%;
    min-height: 48px;
    padding: 7px 10px;
    margin-top: 0;
    border-radius: 0;
  }

  .club-feed-brand strong {
    font-size: 16px;
  }

  .club-feed-shell {
    width: 100%;
    padding: 6px 6px 14px;
    margin-top: 0;
  }

  .club-compose-card-v3 {
    padding: 9px;
    margin-bottom: 8px;
  }

  .club-compose-prompt {
    min-height: 38px;
    font-size: 13px;
  }

  .club-compose-details textarea {
    min-height: 78px;
  }

  .club-post-card {
    padding: 11px;
  }

  .club-post-card h2 {
    font-size: 17px;
    line-height: 1.2;
  }

  .club-post-body {
    font-size: 13px;
  }

  .club-feed-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .club-post-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 6px;
  }

  .club-post-actions a[href*="publication"] {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 2px;
  }

  .club-mobile-nav {
    height: 60px;
    padding-top: 4px;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .club-mobile-nav > a,
  .club-mobile-nav > details > summary {
    height: 48px;
    font-size: 8px;
    gap: 1px;
  }

  .club-mobile-icon {
    font-size: 18px;
  }

  .club-mobile-more {
    left: 6px;
    right: 6px;
    bottom: 66px;
    padding: 8px;
    border-radius: 14px;
  }

  .club-mobile-more a {
    padding: 10px;
    font-size: 13px;
    border-radius: 9px;
  }
}

/* PETITS MOBILES */
@media (max-width: 430px) {

  .club-feed-shell {
    padding-left: 4px;
    padding-right: 4px;
  }

  .club-compose-card-v3,
  .club-post-card {
    border-radius: 11px;
  }

  .club-post-actions button,
  .club-post-actions a.button-small,
  .reaction-count {
    font-size: 10px;
    padding: 6px 8px;
  }

  .club-mobile-nav > a,
  .club-mobile-nav > details > summary {
    font-size: 7px;
  }
}

/* =========================================================
   V3.2 — NAVIGATION PAR ICÔNES
   ========================================================= */

.club-icon-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.club-icon-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.club-feed-nav-desktop > .club-icon-link,
.club-more-menu > .club-icon-link {
  min-height: 38px;
}

/* Sur écrans intermédiaires, on garde l'icône et on retire
   progressivement les mots pour éviter les longues barres. */

@media (max-width: 1100px) and (min-width: 761px) {

  .club-feed-nav-desktop > .club-icon-link {
    width: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .club-feed-nav-desktop > .club-icon-link > span,
  .club-more-menu > .club-icon-link > span {
    display: none;
  }

  .club-more-menu > .club-icon-link {
    width: 40px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Desktop large : texte discret, icône prioritaire */

@media (min-width: 1101px) {

  .club-feed-nav-desktop > .club-icon-link {
    padding: 7px 9px;
    font-size: 12px;
  }

  .club-feed-nav-desktop > .club-icon-link > span,
  .club-more-menu > .club-icon-link > span {
    font-size: 12px;
  }
}

/* =========================================================
   V3.3 — DESKTOP : ICÔNES SEULES + INFOBULLES
   Mobile : conserve icône + petit libellé
   ========================================================= */

@media (min-width: 761px) {

  .club-feed-nav-desktop > .club-icon-link,
  .club-more-menu > .club-icon-link {
    position: relative;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .club-feed-nav-desktop > .club-icon-link > span,
  .club-more-menu > .club-icon-link > span {
    display: none !important;
  }

  .club-icon-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  /* Infobulle personnalisée */
  .club-feed-nav-desktop > .club-icon-link::after,
  .club-more-menu > .club-icon-link::after {
    content: attr(aria-label);

    position: absolute;
    left: 50%;
    top: calc(100% + 8px);

    transform:
      translateX(-50%)
      translateY(-3px);

    z-index: 300;

    width: max-content;
    max-width: 220px;

    padding: 7px 10px;

    border-radius: 8px;

    background: #172538;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;

    box-shadow:
      0 7px 22px rgba(9,35,74,.20);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity .14s ease,
      transform .14s ease,
      visibility .14s ease;
  }

  /* Petite flèche */
  .club-feed-nav-desktop > .club-icon-link::before,
  .club-more-menu > .club-icon-link::before {
    content: "";

    position: absolute;
    left: 50%;
    top: calc(100% + 3px);

    transform: translateX(-50%);

    z-index: 301;

    width: 0;
    height: 0;

    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #172538;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity .14s ease,
      visibility .14s ease;
  }

  .club-feed-nav-desktop > .club-icon-link:hover::after,
  .club-feed-nav-desktop > .club-icon-link:focus-visible::after,
  .club-more-menu > .club-icon-link:hover::after,
  .club-more-menu > .club-icon-link:focus-visible::after {
    opacity: 1;
    visibility: visible;

    transform:
      translateX(-50%)
      translateY(0);
  }

  .club-feed-nav-desktop > .club-icon-link:hover::before,
  .club-feed-nav-desktop > .club-icon-link:focus-visible::before,
  .club-more-menu > .club-icon-link:hover::before,
  .club-more-menu > .club-icon-link:focus-visible::before {
    opacity: 1;
    visibility: visible;
  }

  .club-feed-nav-desktop {
    gap: 5px;
  }

  .club-feed-nav-desktop > .club-icon-link:hover,
  .club-more-menu > .club-icon-link:hover {
    background: #edf3ef;
    color: #245a17;
  }

  .club-feed-nav-desktop > .club-icon-link.is-current {
    background: #e8f1e4;
    color: #245a17;
  }
}

/* =========================================================
   MOBILE — PAS DE TOOLTIP, LIBELLÉS COURTS CONSERVÉS
   ========================================================= */

@media (max-width: 760px) {

  .club-mobile-nav span:last-child {
    display: block;
  }

  .club-mobile-nav > a,
  .club-mobile-nav > details > summary {
    -webkit-tap-highlight-color: transparent;
  }

  .club-mobile-nav > a:active,
  .club-mobile-nav > details > summary:active {
    background: #eef3ef;
    border-radius: 10px;
  }
}


/* =========================================================
   V3.4 — SUPPRESSION SCROLLBARS NAVIGATION DESKTOP
   ========================================================= */

@media (min-width: 761px) {

  .club-feed-nav,
  .club-feed-nav-desktop {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;

    scrollbar-width: none !important;
    -ms-overflow-style: none !important;

    padding-bottom: 0 !important;
  }

  .club-feed-nav::-webkit-scrollbar,
  .club-feed-nav-desktop::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .club-feed-topbar {
    overflow: visible !important;
  }

  .club-more-menu {
    overflow: visible !important;
  }

  .club-more-menu-panel {
    overflow: visible;
  }
}


/* =========================================================
   V3.5 — FIL CONTINU
   Plus d'espaces morts entre les blocs.
   Séparation par lignes fines.
   ========================================================= */

/* Barre du haut → contenu */
.club-feed-topbar {
  margin-bottom: 0 !important;
}

.club-feed-shell {
  margin-top: 6px !important;
}

/* =========================================================
   COLONNE CENTRALE
   ========================================================= */

.club-feed-center {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

/* Compositeur */
.club-compose-card-v3 {
  margin: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  border-bottom: 1px solid #e3e7ea !important;
  box-shadow: none !important;
}

/* Liste des publications */
.club-post-list {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
}

/* Chaque publication touche la suivante */
.club-post-card {
  margin: 0 !important;
  border-radius: 0 !important;
  border-top: 0 !important;
  border-left: 1px solid rgba(9,35,74,.07) !important;
  border-right: 1px solid rgba(9,35,74,.07) !important;
  border-bottom: 1px solid #e3e7ea !important;
  box-shadow: none !important;
}

/* Dernière publication : coins du bas */
.club-post-list .club-post-card:last-child {
  border-radius: 0 0 14px 14px !important;
}

/* =========================================================
   COLONNE GAUCHE
   ========================================================= */

.club-feed-left {
  gap: 0 !important;
}

.club-member-mini-card,
.club-feed-left .club-side-card {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid #e3e7ea !important;
}

.club-feed-left > :first-child {
  border-radius: 14px 14px 0 0 !important;
}

.club-feed-left > :last-child {
  border-radius: 0 0 14px 14px !important;
}

/* S'il n'y a qu'une seule carte */
.club-feed-left > :only-child {
  border-radius: 14px !important;
}

/* =========================================================
   COLONNE DROITE
   ========================================================= */

.club-feed-right {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

.club-feed-right .club-side-card {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid #e3e7ea !important;
}

.club-feed-right .club-side-card:first-child {
  border-radius: 14px 14px 0 0 !important;
}

.club-feed-right .club-side-card:last-child {
  border-radius: 0 0 14px 14px !important;
}

.club-feed-right .club-side-card:only-child {
  border-radius: 14px !important;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 980px) {

  .club-feed-shell {
    margin-top: 4px !important;
  }
}

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

@media (max-width: 760px) {

  .club-feed-shell {
    padding-top: 4px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .club-compose-card-v3 {
    border-radius: 12px 12px 0 0 !important;
  }

  .club-post-card {
    border-radius: 0 !important;
  }

  .club-post-list .club-post-card:last-child {
    border-radius: 0 0 12px 12px !important;
  }
}


/* =========================================================
   ÉLEVEURS V1
   ========================================================= */

.breeders-page,
.breeder-profile-page {
  width: min(1240px, calc(100% - 24px));
  margin: 18px auto 40px;
}

.breeders-hero,
.breeder-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 22px;
  align-items: center;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 20px;
}

.breeders-hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

.breeders-hero h1,
.breeder-profile-hero h1 {
  margin: 4px 0 10px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
}

.breeders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.breeder-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 16px;
}

.breeder-card-logo,
.breeder-profile-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  background: #eef3eb;
}

.breeder-card-logo-empty {
  display: grid;
  place-items: center;
  font-size: 36px;
}

.breeder-card h2 {
  margin: 6px 0;
  font-size: 20px;
}

.breeder-location {
  margin: 4px 0 8px;
  color: #607087;
  font-size: 13px;
}

.breeder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.breeder-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.breeder-badge.verified {
  background: #e9f4e6;
  color: #286119;
}

.breeder-badge.featured {
  background: #fff3d7;
  color: #8a5c08;
}

.breeders-empty {
  margin-top: 14px;
  padding: 36px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 16px;
}

.breeder-ecosystem {
  margin-top: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 16px;
}

.breeder-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.breeder-ecosystem-grid article {
  padding: 16px;
  background: #f5f7f5;
  border-radius: 13px;
}

.breeder-profile-hero {
  grid-template-columns: 130px minmax(0, 1fr);
}

.breeder-profile-logo {
  width: 130px;
  height: 130px;
}

.breeder-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 12px;
  margin-top: 12px;
}

.breeder-profile-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(9,35,74,.08);
  border-radius: 16px;
}

.breeder-awards-list {
  display: grid;
  gap: 8px;
}

.breeder-award {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #f5f7f5;
  border-radius: 11px;
}

.breeder-interest-panel form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.breeder-interest-panel label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
}

.breeder-interest-panel input {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #dce3e7;
  border-radius: 10px;
}

.breeder-interest-panel button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #326f20;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.breeder-referral-success {
  padding: 10px 12px;
  border-radius: 10px;
  background: #e9f4e6;
  color: #286119;
  font-weight: 800;
}

@media (max-width: 980px) {

  .breeders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .breeder-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  .breeders-page,
  .breeder-profile-page {
    width: 100%;
    margin: 0 auto 28px;
    padding: 6px;
  }

  .breeders-hero {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 14px;
  }

  .breeders-hero img {
    height: 190px;
  }

  .breeders-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .breeder-card {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 12px;
    border-radius: 12px;
  }

  .breeder-card-logo {
    width: 70px;
    height: 70px;
  }

  .breeder-profile-hero {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 14px;
    border-radius: 14px;
  }

  .breeder-profile-logo {
    width: 82px;
    height: 82px;
  }

  .breeder-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .breeder-profile-panel,
  .breeder-ecosystem,
  .breeders-empty {
    border-radius: 12px;
  }
}


/* =========================================================
   RECRUTEMENT ÉLEVEURS
   ========================================================= */

.breeder-join-page {
  width: min(1120px, calc(100% - 24px));
  margin: 18px auto 42px;
}

.breeder-join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: 24px;

  padding: 28px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 20px;
}

.breeder-join-hero img {
  width: 100%;
  height: 330px;

  object-fit: cover;

  border-radius: 16px;
}

.breeder-free-badge {
  display: inline-flex;

  padding: 7px 12px;

  margin-bottom: 10px;

  border-radius: 999px;

  background: #34721f;
  color: #fff;

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

.breeder-join-copy h1 {
  max-width: 720px;

  margin: 5px 0 12px;

  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.3px;
}

.breeder-join-copy > p {
  max-width: 720px;

  font-size: 17px;
  line-height: 1.55;
}

.breeder-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 8px;

  margin-top: 18px;
}

.breeder-benefits div {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  padding: 10px 12px;

  background: #f4f7f2;

  border-radius: 11px;

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

.breeder-benefits span {
  color: #34721f;
  font-weight: 950;
}

.breeder-join-form-card {
  max-width: 760px;

  margin: 14px auto 0;
  padding: 24px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 18px;
}

.breeder-join-form-card h2 {
  margin-top: 0;

  font-size: clamp(25px, 3vw, 34px);
}

.breeder-join-form-card form {
  display: grid;
  gap: 10px;
}

.breeder-join-form-card label {
  display: grid;
  gap: 5px;

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

.breeder-join-form-card input,
.breeder-join-form-card textarea {
  width: 100%;

  padding: 10px 12px;

  border: 1px solid #d9e1e6;
  border-radius: 10px;

  font: inherit;
}

.breeder-form-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.breeder-join-form-card button {
  min-height: 46px;

  border: 0;
  border-radius: 999px;

  background: #34721f;
  color: #fff;

  font-weight: 900;

  cursor: pointer;
}

.breeder-trial-note {
  margin: 3px 0 0;

  color: #657486;

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

.breeder-join-success {
  margin-bottom: 14px;
  padding: 12px 14px;

  border-radius: 11px;

  background: #e8f4e4;
  color: #285f18;

  font-weight: 850;
}

.breeder-join-main-cta {
  display: inline-flex;
  margin-top: 12px;
}

@media (max-width: 760px) {

  .breeder-join-page {
    width: 100%;

    margin-top: 0;
    padding: 6px;
  }

  .breeder-join-hero {
    grid-template-columns: 1fr;

    padding: 18px;

    border-radius: 14px;
  }

  .breeder-join-hero img {
    height: 210px;
  }

  .breeder-join-copy h1 {
    font-size: 34px;
  }

  .breeder-benefits {
    grid-template-columns: 1fr;
  }

  .breeder-join-form-card {
    padding: 16px;

    border-radius: 14px;
  }

  .breeder-form-two {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ÉLEVEURS — DEUX PORTES CLAIRES
   ========================================================= */

.breeder-entry-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.breeder-entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;

  border: 1px solid rgba(9,35,74,.14);
  border-radius: 999px;

  background: #fff;
  color: #183250;

  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.breeder-entry-link:hover {
  background: #f4f7f2;
}

.breeder-directory-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  margin-top: 18px;
  padding: 14px 16px;

  background: #f4f7f2;
  border-radius: 14px;
}

.breeder-directory-action-copy {
  display: grid;
  gap: 3px;
}

.breeder-directory-action-copy strong {
  font-size: 15px;
}

.breeder-directory-action-copy span {
  max-width: 620px;

  color: #627084;

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

.breeder-trial-important {
  padding: 10px 12px;

  background: #eef6ea;
  color: #285f18;

  border-radius: 10px;

  font-weight: 850;
}

@media (max-width: 760px) {

  .breeder-directory-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .breeder-directory-actions .simple-button {
    justify-content: center;
    width: 100%;
  }
}


/* =========================================================
   ANNUAIRE ÉLEVEURS V2
   ========================================================= */

.breeders-directory-v2 {
  width: min(1220px, calc(100% - 24px));
}

.breeders-directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;

  padding: 24px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 18px;
}

.breeders-directory-head > div {
  max-width: 780px;
}

.breeders-directory-head h1 {
  margin: 3px 0 8px;

  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.breeders-directory-head p {
  margin-bottom: 0;
}

.breeder-register-pill {
  display: grid;
  gap: 2px;

  flex: 0 0 auto;

  padding: 11px 15px;

  border-radius: 13px;

  background: #eef6ea;
  color: #285e18;

  text-decoration: none;

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

.breeder-register-pill strong {
  font-size: 15px;
}

.breeders-search-panel {
  margin-top: 8px;
  padding: 13px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 14px;
}

.breeders-search-panel form {
  display: grid;

  grid-template-columns:
    minmax(260px, 1.4fr)
    minmax(160px, .6fr)
    minmax(160px, .6fr)
    auto;

  align-items: end;

  gap: 8px;
}

.breeders-search-panel label {
  display: grid;
  gap: 4px;

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

.breeders-search-panel input,
.breeders-search-panel select {
  width: 100%;
  height: 42px;

  padding: 0 11px;

  border: 1px solid #dbe2e7;
  border-radius: 9px;

  background: #fff;

  font: inherit;
}

.breeders-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breeders-filter-actions button {
  height: 42px;

  padding: 0 17px;

  border: 0;
  border-radius: 999px;

  background: #326f20;
  color: #fff;

  font-weight: 850;
  cursor: pointer;
}

.breeders-filter-actions a {
  color: #607087;

  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.breeders-results-count {
  padding: 10px 4px 6px;

  color: #657486;

  font-size: 12px;
}

.breeders-results-count strong {
  color: #19334e;

  font-size: 15px;
}

.breeders-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 8px;

  margin-top: 0;
}

.breeder-card-v2 {
  display: flex;
  flex-direction: column;

  gap: 11px;

  min-width: 0;

  padding: 14px;
}

.breeder-card-top {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr);

  align-items: center;

  gap: 11px;
}

.breeder-card-v2 .breeder-card-logo {
  width: 70px;
  height: 70px;
}

.breeder-card-identity {
  min-width: 0;
}

.breeder-card-identity h2 {
  margin: 4px 0 2px;

  font-size: 19px;
  line-height: 1.15;
}

.breeder-card-description {
  display: -webkit-box;

  overflow: hidden;

  margin: 0;

  color: #4d5d6d;

  font-size: 13px;
  line-height: 1.45;

  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.breeder-card-meta {
  margin-top: auto;
}

.breeder-awards-chip {
  display: inline-flex;
  align-items: center;

  min-height: 28px;

  padding: 4px 9px;

  border-radius: 999px;

  background: #fff5dc;
  color: #77500b;

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

.breeder-awards-chip.muted {
  background: #f2f4f5;
  color: #77828c;
}

.breeder-card-actions {
  display: flex;
}

.breeder-card-actions .simple-button {
  width: 100%;
  justify-content: center;
}

.breeder-ecosystem-v2 {
  margin-top: 8px;
}

@media (max-width: 1050px) {

  .breeders-search-panel form {
    grid-template-columns:
      minmax(240px, 1fr)
      minmax(150px, .5fr)
      minmax(150px, .5fr);
  }

  .breeders-filter-actions {
    grid-column: 1 / -1;
  }

  .breeders-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .breeders-directory-v2 {
    width: 100%;
  }

  .breeders-directory-head {
    align-items: stretch;
    flex-direction: column;

    gap: 14px;

    padding: 16px;

    border-radius: 13px;
  }

  .breeders-directory-head h1 {
    font-size: 31px;
  }

  .breeder-register-pill {
    width: 100%;
  }

  .breeders-search-panel {
    margin-top: 5px;
    padding: 10px;
  }

  .breeders-search-panel form {
    grid-template-columns: 1fr;
  }

  .breeders-filter-actions {
    grid-column: auto;

    align-items: stretch;
    flex-direction: column;
  }

  .breeders-filter-actions button {
    width: 100%;
  }

  .breeders-grid-v2 {
    grid-template-columns: 1fr;

    gap: 5px;
  }

  .breeder-card-v2 {
    border-radius: 11px;
  }

  .breeder-card-top {
    grid-template-columns: 62px minmax(0,1fr);
  }

  .breeder-card-v2 .breeder-card-logo {
    width: 62px;
    height: 62px;
  }
}


/* =========================================================
   MINI-SITE ÉLEVEUR V1
   ========================================================= */

.breeder-mini-site {
  width: min(1120px, calc(100% - 24px));
  margin: 16px auto 42px;
}

.breeder-site-header {
  padding: 22px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 18px 18px 0 0;
}

.breeder-site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.breeder-site-logo {
  width: 104px;
  height: 104px;

  flex: 0 0 auto;

  object-fit: cover;

  border-radius: 50%;

  background: #eef3eb;
}

.breeder-site-logo-empty {
  display: grid;
  place-items: center;

  font-size: 40px;
}

.breeder-site-header h1 {
  margin: 5px 0 3px;

  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
}

.breeder-site-location {
  margin: 4px 0 0;

  color: #617084;

  font-size: 13px;
}

.breeder-site-nav {
  position: sticky;
  top: 0;
  z-index: 15;

  display: flex;
  align-items: center;
  gap: 2px;

  overflow-x: auto;

  padding: 7px 10px;

  background: rgba(255,255,255,.97);

  border: 1px solid rgba(9,35,74,.08);
  border-top: 0;

  scrollbar-width: none;
}

.breeder-site-nav::-webkit-scrollbar {
  display: none;
}

.breeder-site-nav a {
  flex: 0 0 auto;

  padding: 8px 11px;

  border-radius: 999px;

  color: #263c53;

  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.breeder-site-nav a:hover {
  background: #edf4e9;
  color: #2e651d;
}

.breeder-site-section {
  padding: 20px;

  background: #fff;

  border-left: 1px solid rgba(9,35,74,.08);
  border-right: 1px solid rgba(9,35,74,.08);
  border-bottom: 1px solid rgba(9,35,74,.08);

  scroll-margin-top: 70px;
}

.breeder-site-section h2 {
  margin: 0 0 14px;

  font-size: clamp(22px, 3vw, 30px);
}

.breeder-site-text {
  max-width: 850px;

  color: #475969;

  line-height: 1.65;
}

.breeder-site-dogs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));

  gap: 8px;
}

.breeder-site-dog {
  overflow: hidden;

  background: #f5f7f4;

  border-radius: 13px;
}

.breeder-site-dog img,
.breeder-site-dog-placeholder {
  width: 100%;
  height: 190px;
}

.breeder-site-dog img {
  object-fit: cover;
}

.breeder-site-dog-placeholder {
  display: grid;
  place-items: center;

  background: #e8eee5;

  font-size: 42px;
}

.breeder-site-dog > div:last-child {
  padding: 12px;
}

.breeder-site-dog h3 {
  margin: 0 0 4px;
}

.breeder-site-pedigree {
  margin: 0 0 5px;

  color: #657486;

  font-size: 11px;
  font-style: italic;
}

.breeder-site-meta {
  color: #657486;

  font-size: 12px;
}

.breeder-site-litters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));

  gap: 8px;
}

.breeder-site-litter {
  overflow: hidden;

  background: #f5f7f4;

  border-radius: 13px;
}

.breeder-site-litter img {
  width: 100%;
  height: 220px;

  object-fit: cover;
}

.breeder-site-litter > div {
  padding: 13px;
}

.breeder-site-litter h3 {
  margin-top: 0;
}

.breeder-puppies-available {
  display: inline-flex;

  margin-bottom: 7px;
  padding: 5px 9px;

  border-radius: 999px;

  background: #e6f3df;
  color: #2d651c;

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

.breeder-site-awards {
  display: grid;

  gap: 6px;
}

.breeder-site-awards article {
  display: flex;
  align-items: center;

  gap: 11px;

  padding: 11px 13px;

  background: #f7f6ef;

  border-radius: 11px;
}

.breeder-site-trophy {
  font-size: 24px;
}

.breeder-site-awards p {
  margin: 2px 0;
}

.breeder-site-contests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));

  gap: 7px;
}

.breeder-site-contests article {
  display: grid;

  gap: 3px;

  padding: 12px;

  background: #f5f7f4;

  border-radius: 11px;
}

.breeder-site-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));

  gap: 5px;
}

.breeder-site-gallery figure {
  overflow: hidden;

  margin: 0;

  border-radius: 10px;

  background: #f2f4f2;
}

.breeder-site-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;
}

.breeder-site-gallery figcaption {
  padding: 6px 8px;

  font-size: 10px;
}

.breeder-site-contact {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;
}

.breeder-site-contact a {
  display: inline-flex;

  padding: 8px 12px;

  border-radius: 999px;

  background: #edf4e9;
  color: #2d651c;

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

  text-decoration: none;
}

@media (max-width: 850px) {

  .breeder-site-dogs {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .breeder-site-gallery {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 760px) {

  .breeder-mini-site {
    width: 100%;

    margin-top: 0;

    padding: 5px;
  }

  .breeder-site-header {
    padding: 14px;

    border-radius: 13px 13px 0 0;
  }

  .breeder-site-brand {
    align-items: flex-start;
  }

  .breeder-site-logo {
    width: 72px;
    height: 72px;
  }

  .breeder-site-header h1 {
    font-size: 28px;
  }

  .breeder-site-nav {
    margin: 0;

    padding: 5px;
  }

  .breeder-site-section {
    padding: 15px;
  }

  .breeder-site-dogs,
  .breeder-site-litters,
  .breeder-site-contests {
    grid-template-columns: 1fr;
  }

  .breeder-site-gallery {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .breeder-site-dog img,
  .breeder-site-dog-placeholder {
    height: 220px;
  }
}


/* =========================================================
   ESPACE PRIVÉ ÉLEVEUR V1
   ========================================================= */

.breeder-dashboard {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto 44px;
}

.breeder-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 20px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 16px 16px 0 0;
}

.breeder-dashboard-head h1 {
  margin: 3px 0 5px;
}

.breeder-dashboard-head p {
  margin: 0;
  color: #637184;
}

.breeder-dashboard-nav {
  display: flex;
  gap: 3px;

  overflow-x: auto;

  padding: 7px;

  background: #fff;

  border-left: 1px solid rgba(9,35,74,.08);
  border-right: 1px solid rgba(9,35,74,.08);
  border-bottom: 1px solid rgba(9,35,74,.08);

  scrollbar-width: none;
}

.breeder-dashboard-nav::-webkit-scrollbar {
  display: none;
}

.breeder-dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 6px;

  flex: 0 0 auto;

  min-height: 38px;
  padding: 7px 11px;

  border-radius: 999px;

  color: #425468;

  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.breeder-dashboard-nav a.active {
  background: #e9f3e4;
  color: #2d651d;
}

.breeder-dashboard-nav span {
  display: grid;
  place-items: center;

  min-width: 20px;
  height: 20px;

  padding: 0 5px;

  border-radius: 999px;

  background: rgba(0,0,0,.06);

  font-size: 10px;
}

.breeder-dashboard-content,
.breeder-dashboard-empty {
  padding: 22px;

  background: #fff;

  border-left: 1px solid rgba(9,35,74,.08);
  border-right: 1px solid rgba(9,35,74,.08);
  border-bottom: 1px solid rgba(9,35,74,.08);

  border-radius: 0 0 16px 16px;
}

.breeder-dashboard-form {
  display: grid;

  max-width: 760px;

  gap: 10px;
}

.breeder-dashboard-form label {
  display: grid;

  gap: 4px;

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

.breeder-dashboard-form input,
.breeder-dashboard-form textarea {
  width: 100%;

  padding: 10px 11px;

  border: 1px solid #dbe2e6;
  border-radius: 9px;

  font: inherit;
}

.breeder-dashboard-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));

  gap: 9px;
}

.breeder-dashboard-form button {
  width: fit-content;

  min-height: 42px;
  padding: 0 18px;

  border: 0;
  border-radius: 999px;

  background: #326f20;
  color: #fff;

  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 760px) {

  .breeder-dashboard {
    width: 100%;
    margin-top: 0;
    padding: 5px;
  }

  .breeder-dashboard-head {
    align-items: stretch;
    flex-direction: column;

    padding: 15px;

    border-radius: 12px 12px 0 0;
  }

  .breeder-dashboard-nav {
    padding: 5px;
  }

  .breeder-dashboard-content,
  .breeder-dashboard-empty {
    padding: 15px;

    border-radius: 0 0 12px 12px;
  }

  .breeder-dashboard-two {
    grid-template-columns: 1fr;
  }

  .breeder-dashboard-form button {
    width: 100%;
  }
}


/* =========================================================
   THÈMES MINI-SITES ÉLEVEURS
   ========================================================= */

.breeder-mini-site {
  --theme-accent: #326f20;
  --theme-accent-soft: #edf4e9;
  --theme-dark: #203d22;
  --theme-surface: #ffffff;
  --theme-page: #f5f7f3;
  --theme-border: rgba(50,111,32,.14);
  --theme-radius: 16px;
}

/* Labrador naturel */
.breeder-theme-labrador {
  --theme-accent: #326f20;
  --theme-accent-soft: #e9f3e4;
  --theme-dark: #244a27;
  --theme-surface: #ffffff;
  --theme-page: #f4f7f2;
  --theme-border: rgba(50,111,32,.16);
  --theme-radius: 16px;
}

/* Chocolat */
.breeder-theme-chocolate {
  --theme-accent: #70452e;
  --theme-accent-soft: #f1e8e1;
  --theme-dark: #4a2d20;
  --theme-surface: #fffdfb;
  --theme-page: #f4efeb;
  --theme-border: rgba(112,69,46,.18);
  --theme-radius: 10px;
}

/* Terracotta */
.breeder-theme-terracotta {
  --theme-accent: #b45f36;
  --theme-accent-soft: #faebe2;
  --theme-dark: #74391f;
  --theme-surface: #fffdfb;
  --theme-page: #fbf3ed;
  --theme-border: rgba(180,95,54,.18);
  --theme-radius: 20px;
}

/* Rubis */
.breeder-theme-ruby {
  --theme-accent: #8a3043;
  --theme-accent-soft: #f7e7eb;
  --theme-dark: #5d1e2c;
  --theme-surface: #fffdfd;
  --theme-page: #f8f1f3;
  --theme-border: rgba(138,48,67,.17);
  --theme-radius: 12px;
}

/* Marine */
.breeder-theme-marine {
  --theme-accent: #244e74;
  --theme-accent-soft: #e5eef5;
  --theme-dark: #17334e;
  --theme-surface: #ffffff;
  --theme-page: #f0f4f7;
  --theme-border: rgba(36,78,116,.17);
  --theme-radius: 8px;
}

/* Sable */
.breeder-theme-sand {
  --theme-accent: #8b7046;
  --theme-accent-soft: #f4eddf;
  --theme-dark: #56472f;
  --theme-surface: #fffdf8;
  --theme-page: #f6f1e7;
  --theme-border: rgba(139,112,70,.18);
  --theme-radius: 24px;
}


/* Application générale */

.breeder-mini-site {
  background: var(--theme-page);
}

.breeder-mini-site .breeder-site-header,
.breeder-mini-site .breeder-site-section,
.breeder-mini-site .breeder-site-nav {
  background: var(--theme-surface);
  border-color: var(--theme-border);
}

.breeder-mini-site .breeder-site-header {
  border-radius:
    var(--theme-radius)
    var(--theme-radius)
    0
    0;
}

.breeder-mini-site h1,
.breeder-mini-site h2,
.breeder-mini-site h3 {
  color: var(--theme-dark);
}

.breeder-mini-site .breeder-site-nav a:hover {
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.breeder-mini-site .breeder-badge.verified,
.breeder-mini-site .breeder-puppies-available {
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.breeder-mini-site .breeder-interest-panel button {
  background: var(--theme-accent);
}

.breeder-mini-site .breeder-site-contact a {
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.breeder-mini-site .breeder-site-dog,
.breeder-mini-site .breeder-site-litter,
.breeder-mini-site .breeder-site-contests article {
  border-radius: var(--theme-radius);
}


/* Personnalités de mise en page */

.breeder-theme-chocolate .breeder-site-header {
  border-top: 5px solid var(--theme-accent);
}

.breeder-theme-terracotta .breeder-site-header {
  box-shadow: inset 0 5px 0 var(--theme-accent);
}

.breeder-theme-ruby .breeder-site-header {
  border-left: 6px solid var(--theme-accent);
}

.breeder-theme-marine .breeder-site-nav {
  border-bottom: 3px solid var(--theme-accent);
}

.breeder-theme-sand .breeder-site-header {
  padding-top: 30px;
  padding-bottom: 30px;
}


/* Sélecteur espace privé */

.breeder-theme-picker {
  margin-top: 8px;
  padding: 14px;

  background: #f7f8f6;
  border-radius: 12px;
}

.breeder-theme-picker h3 {
  margin: 0 0 4px;
}

.breeder-theme-picker > p {
  margin: 0 0 12px;

  color: #667487;

  font-size: 12px;
}

.breeder-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));

  gap: 7px;
}

.breeder-theme-choice {
  position: relative;

  display: grid !important;
  grid-template-columns: 28px minmax(0,1fr) !important;
  align-items: center;

  min-height: 52px;

  padding: 8px 10px;

  border: 2px solid transparent;
  border-radius: 10px;

  background: #fff;

  cursor: pointer;
}

.breeder-theme-choice:has(input:checked) {
  border-color: #315f26;
}

.breeder-theme-choice input {
  position: absolute;
  opacity: 0;
}

.breeder-theme-swatch {
  width: 26px;
  height: 26px;

  border-radius: 50%;
}

.theme-preview-labrador .breeder-theme-swatch {
  background: #326f20;
}

.theme-preview-chocolate .breeder-theme-swatch {
  background: #70452e;
}

.theme-preview-terracotta .breeder-theme-swatch {
  background: #b45f36;
}

.theme-preview-ruby .breeder-theme-swatch {
  background: #8a3043;
}

.theme-preview-marine .breeder-theme-swatch {
  background: #244e74;
}

.theme-preview-sand .breeder-theme-swatch {
  background: #c4a876;
}

.breeder-theme-choice strong {
  font-size: 12px;
}

@media (max-width: 760px) {

  .breeder-theme-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 440px) {

  .breeder-theme-grid {
    grid-template-columns: 1fr;
  }
}


/* N7-LAYOUTS-ELEVEURS-V2
   =========================================================
   4 STRUCTURES × 6 THÈMES = 24 COMBINAISONS
   ========================================================= */


/* =========================================================
   CHOIX DU LAYOUT DANS L'ESPACE ÉLEVEUR
   ========================================================= */

.breeder-layout-picker {
  margin-top: 14px;
  padding: 16px;

  background: #f7f8f6;
  border-radius: 14px;
}

.breeder-layout-picker h3 {
  margin: 0 0 5px;
}

.breeder-layout-picker > p {
  margin: 0 0 14px;

  color: #657487;

  font-size: 12px;
}

.breeder-layout-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 8px;
}

.breeder-layout-choice {
  position: relative;

  display: grid !important;

  gap: 7px !important;

  padding: 9px;

  background: #fff;

  border: 2px solid transparent;
  border-radius: 12px;

  cursor: pointer;

  transition:
    border-color .15s ease,
    transform .15s ease;
}

.breeder-layout-choice:hover {
  transform: translateY(-1px);
}

.breeder-layout-choice:has(input:checked) {
  border-color: #326f20;
}

.breeder-layout-choice input {
  position: absolute;

  opacity: 0;
  pointer-events: none;
}

.breeder-layout-choice strong {
  font-size: 12px;
}

.breeder-layout-choice small {
  color: #687687;

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

.breeder-layout-visual {
  display: grid;

  height: 90px;

  gap: 4px;
  padding: 7px;

  overflow: hidden;

  background: #edf0ed;

  border-radius: 8px;
}

.breeder-layout-visual i {
  display: block;

  background: #fff;

  border-radius: 4px;
}


/* Classique aperçu */

.layout-preview-classic .breeder-layout-visual {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 28px 1fr;
}

.layout-preview-classic .breeder-layout-visual i:first-child {
  grid-column: 1 / -1;
}


/* Élégant aperçu */

.layout-preview-elegant .breeder-layout-visual {
  grid-template-rows: 38px 14px 14px;

  padding-left: 20px;
  padding-right: 20px;
}

.layout-preview-elegant .breeder-layout-visual i {
  border-radius: 1px;
}


/* Magazine aperçu */

.layout-preview-magazine .breeder-layout-visual {
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: 1fr 1fr;
}

.layout-preview-magazine .breeder-layout-visual i:first-child {
  grid-row: 1 / 3;
}


/* Photo aperçu */

.layout-preview-photo .breeder-layout-visual {
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: 52px 1fr;
}

.layout-preview-photo .breeder-layout-visual i:first-child {
  grid-column: 1 / -1;

  background: #bacab6;
}


/* =========================================================
   1 — CLASSIQUE
   ========================================================= */

.breeder-layout-classic {
  max-width: 1120px;
}

.breeder-layout-classic .breeder-site-header {
  padding: 22px;
}

.breeder-layout-classic .breeder-site-section {
  padding: 20px;
}

.breeder-layout-classic .breeder-site-dogs {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.breeder-layout-classic .breeder-site-gallery {
  grid-template-columns: repeat(4,minmax(0,1fr));
}


/* =========================================================
   2 — ÉLÉGANT
   ========================================================= */

.breeder-layout-elegant {
  max-width: 1040px;
}

.breeder-layout-elegant .breeder-site-header {
  padding: 48px 55px;

  text-align: center;
}

.breeder-layout-elegant .breeder-site-brand {
  flex-direction: column;

  justify-content: center;
}

.breeder-layout-elegant .breeder-site-logo {
  width: 132px;
  height: 132px;
}

.breeder-layout-elegant .breeder-site-header h1 {
  margin-top: 15px;

  font-size: clamp(38px,6vw,64px);
  letter-spacing: -1px;
}

.breeder-layout-elegant .breeder-badges {
  justify-content: center;
}

.breeder-layout-elegant .breeder-site-location {
  font-size: 14px;
}

.breeder-layout-elegant .breeder-site-nav {
  justify-content: center;

  padding: 12px;
}

.breeder-layout-elegant .breeder-site-nav a {
  padding: 9px 16px;

  font-size: 12px;
}

.breeder-layout-elegant .breeder-site-section {
  padding: 42px 50px;
}

.breeder-layout-elegant .breeder-site-section > h2 {
  margin-bottom: 28px;

  text-align: center;

  font-size: clamp(29px,4vw,42px);
}

.breeder-layout-elegant .breeder-site-text {
  max-width: 720px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;

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

.breeder-layout-elegant .breeder-site-dogs {
  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 20px;
}

.breeder-layout-elegant .breeder-site-dog img,
.breeder-layout-elegant .breeder-site-dog-placeholder {
  height: 300px;
}

.breeder-layout-elegant .breeder-site-litters {
  gap: 18px;
}

.breeder-layout-elegant .breeder-site-gallery {
  grid-template-columns: repeat(3,minmax(0,1fr));

  gap: 11px;
}


/* =========================================================
   3 — MAGAZINE
   ========================================================= */

.breeder-layout-magazine {
  max-width: 1260px;
}

.breeder-layout-magazine .breeder-site-header {
  padding: 30px;

  border-bottom: 5px solid var(--theme-accent);
}

.breeder-layout-magazine .breeder-site-section {
  padding: 26px;
}

.breeder-layout-magazine .breeder-site-section h2 {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: clamp(25px,3vw,36px);
}

.breeder-layout-magazine .breeder-site-section h2::after {
  content: "";

  height: 2px;

  flex: 1;

  background: var(--theme-accent-soft);
}

.breeder-layout-magazine .breeder-site-dogs {
  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 8px;
}

.breeder-layout-magazine .breeder-site-dog:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.breeder-layout-magazine .breeder-site-dog:first-child img,
.breeder-layout-magazine .breeder-site-dog:first-child
.breeder-site-dog-placeholder {
  height: 360px;
}

.breeder-layout-magazine .breeder-site-litters {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.breeder-layout-magazine .breeder-site-awards {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.breeder-layout-magazine .breeder-site-gallery {
  grid-template-columns: repeat(5,minmax(0,1fr));

  gap: 4px;
}


/* =========================================================
   4 — IMMERSION PHOTO
   ========================================================= */

.breeder-layout-photo {
  max-width: 1320px;

  background: #111;
}

.breeder-layout-photo .breeder-site-header {
  position: relative;

  display: flex;
  align-items: flex-end;

  min-height: 370px;

  padding: 44px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      var(--theme-dark),
      var(--theme-accent)
    );

  color: #fff;
}

.breeder-layout-photo .breeder-site-header::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(255,255,255,.20),
      transparent 38%
    );

  pointer-events: none;
}

.breeder-layout-photo .breeder-site-brand {
  position: relative;

  z-index: 2;

  align-items: flex-end;
}

.breeder-layout-photo .breeder-site-logo {
  width: 155px;
  height: 155px;

  border: 5px solid rgba(255,255,255,.85);
}

.breeder-layout-photo .breeder-site-header h1 {
  color: #fff;

  font-size: clamp(44px,7vw,76px);
  letter-spacing: -1.5px;
}

.breeder-layout-photo .breeder-site-location {
  color: rgba(255,255,255,.86);
}

.breeder-layout-photo .breeder-site-nav {
  background: #111;

  border-color: #222;
}

.breeder-layout-photo .breeder-site-nav a {
  color: #fff;
}

.breeder-layout-photo .breeder-site-nav a:hover {
  background: var(--theme-accent);

  color: #fff;
}

.breeder-layout-photo .breeder-site-section {
  padding: 32px;

  background: #fff;
}

.breeder-layout-photo .breeder-site-dogs {
  grid-template-columns: repeat(3,minmax(0,1fr));

  gap: 3px;
}

.breeder-layout-photo .breeder-site-dog {
  position: relative;

  overflow: hidden;

  border-radius: 0;
}

.breeder-layout-photo .breeder-site-dog img,
.breeder-layout-photo .breeder-site-dog-placeholder {
  height: 390px;
}

.breeder-layout-photo .breeder-site-gallery {
  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 3px;
}

.breeder-layout-photo .breeder-site-gallery figure {
  border-radius: 0;
}

.breeder-layout-photo .breeder-site-gallery img {
  aspect-ratio: 4 / 3;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1050px) {

  .breeder-layout-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .breeder-layout-magazine .breeder-site-dogs {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .breeder-layout-magazine .breeder-site-gallery {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .breeder-layout-photo .breeder-site-dogs {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px) {

  .breeder-layout-elegant .breeder-site-header {
    padding: 30px 16px;
  }

  .breeder-layout-elegant .breeder-site-section {
    padding: 24px 15px;
  }

  .breeder-layout-elegant .breeder-site-dogs {
    grid-template-columns: 1fr;
  }

  .breeder-layout-magazine .breeder-site-dogs,
  .breeder-layout-magazine .breeder-site-litters,
  .breeder-layout-magazine .breeder-site-awards {
    grid-template-columns: 1fr;
  }

  .breeder-layout-magazine .breeder-site-dog:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .breeder-layout-photo .breeder-site-header {
    min-height: 290px;

    padding: 24px 16px;
  }

  .breeder-layout-photo .breeder-site-brand {
    align-items: flex-start;
  }

  .breeder-layout-photo .breeder-site-logo {
    width: 86px;
    height: 86px;
  }

  .breeder-layout-photo .breeder-site-header h1 {
    font-size: 35px;
  }

  .breeder-layout-photo .breeder-site-section {
    padding: 18px 12px;
  }

  .breeder-layout-photo .breeder-site-dogs {
    grid-template-columns: 1fr;
  }

  .breeder-layout-photo .breeder-site-dog img,
  .breeder-layout-photo .breeder-site-dog-placeholder {
    height: 310px;
  }

  .breeder-layout-photo .breeder-site-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:480px) {

  .breeder-layout-grid {
    grid-template-columns: 1fr;
  }
}


/* N7-ESPACE-ELEVEUR-V3-FINAL
   ========================================================= */

.breeder-v3-overview {
  display: grid;

  grid-template-columns:
    1.6fr 1fr 1fr;

  gap: 7px;

  margin: 7px 0;
}

.breeder-v3-stat {
  display: grid;

  gap: 4px;

  padding: 13px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 11px;
}

.breeder-v3-stat > span {
  color: #687789;

  font-size: 10px;
  font-weight: 850;

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

.breeder-v3-stat strong {
  color: #263e52;

  font-size: 22px;
}

.breeder-v3-stat small {
  color: #657587;

  font-size: 11px;
}

.breeder-v3-progress {
  width: 100%;
  height: 6px;

  overflow: hidden;

  background: #edf0ee;

  border-radius: 999px;
}

.breeder-v3-progress i {
  display: block;

  height: 100%;

  background: #397426;

  border-radius: inherit;
}

.breeder-manage-card-noimage {
  grid-template-columns: 1fr;
}

.breeder-dashboard-gallery article form {
  display: grid;

  gap: 7px;

  padding: 8px;
}

.breeder-dashboard-gallery article label {
  display: grid;

  gap: 4px;

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

.breeder-dashboard-gallery article input[type="text"] {
  width: 100%;

  padding: 7px;

  border: 1px solid #dce2e5;
  border-radius: 7px;
}

.breeder-referral-list {
  display: grid;

  gap: 6px;
}

.breeder-referral-card {
  display: grid;

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

  align-items: center;

  gap: 14px;

  padding: 12px 13px;

  background: #f6f8f5;

  border-radius: 11px;
}

.breeder-referral-main {
  display: grid;

  gap: 2px;

  min-width: 0;
}

.breeder-referral-main strong {
  color: #263e52;

  font-size: 14px;
}

.breeder-referral-main a,
.breeder-referral-main span {
  color: #465b70;

  font-size: 12px;
}

.breeder-referral-main small {
  margin-top: 3px;

  color: #7a8794;

  font-size: 9px;
}

.breeder-referral-status {
  display: flex;

  align-items: center;

  gap: 5px;
}

.breeder-referral-status select {
  min-height: 36px;

  padding: 0 8px;

  background: #fff;

  border: 1px solid #dce2e5;
  border-radius: 8px;
}

.breeder-referral-status button {
  min-height: 36px;

  padding: 0 10px;

  border: 0;
  border-radius: 999px;

  background: #326f20;
  color: #fff;

  font-size: 10px;
  font-weight: 850;

  cursor: pointer;
}

.breeder-v3-empty {
  padding: 24px;

  text-align: center;

  background: #f6f8f5;

  border-radius: 11px;

  color: #667587;
}

.breeder-site-tagline {
  margin: 5px 0;

  font-size: 17px;
  font-weight: 650;
}

.breeder-site-header[style*="background-image"] {
  min-height: 270px;

  display: flex;
  align-items: flex-end;

  color: #fff;
}

.breeder-site-header[style*="background-image"] h1,
.breeder-site-header[style*="background-image"] .breeder-site-location,
.breeder-site-header[style*="background-image"] .breeder-site-tagline {
  color: #fff;
}

@media (max-width:760px) {

  .breeder-v3-overview {
    grid-template-columns: 1fr 1fr;
  }

  .breeder-v3-overview
  .breeder-v3-stat:first-child {
    grid-column: 1 / -1;
  }

  .breeder-referral-card {
    grid-template-columns: 1fr;
  }

  .breeder-referral-status {
    align-items: stretch;

    flex-direction: column;
  }

  .breeder-referral-status button {
    width: 100%;
  }
}


/* N7-ADMIN-PILOTAGE-ELEVEURS
   ========================================================= */

.admin-breeder-control {
  width: min(1400px, calc(100% - 28px));
  margin: 20px auto 50px;
}

.admin-breeder-head,
.admin-breeder-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 20px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 15px;
}

.admin-breeder-head h1,
.admin-breeder-detail-head h2 {
  margin: 3px 0 5px;
}

.admin-breeder-head p,
.admin-breeder-detail-head p {
  margin: 0;

  color: #667588;
}

.admin-breeder-stats {
  display: grid;

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

  gap: 6px;

  margin: 7px 0;
}

.admin-breeder-stats article {
  display: grid;

  gap: 4px;

  padding: 14px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 11px;
}

.admin-breeder-stats span {
  color: #687789;

  font-size: 10px;
  font-weight: 850;

  text-transform: uppercase;
}

.admin-breeder-stats strong {
  font-size: 25px;
}

.admin-breeder-table-wrap,
.admin-breeder-panel {
  padding: 15px;

  background: #fff;

  border: 1px solid rgba(9,35,74,.08);
  border-radius: 12px;
}

.admin-breeder-table-wrap {
  overflow-x: auto;
}

.admin-breeder-table {
  width: 100%;

  border-collapse: collapse;

  font-size: 12px;
}

.admin-breeder-table th {
  padding: 9px;

  text-align: left;

  color: #617184;

  font-size: 10px;
  text-transform: uppercase;

  border-bottom: 1px solid #e4e8eb;
}

.admin-breeder-table td {
  padding: 10px 9px;

  vertical-align: middle;

  border-bottom: 1px solid #eef0f2;
}

.admin-breeder-table td > strong,
.admin-breeder-table td > small {
  display: block;
}

.admin-breeder-table td > small {
  margin-top: 3px;

  color: #718090;
}

.admin-breeder-counts {
  display: flex;
  flex-wrap: wrap;

  gap: 4px;
}

.admin-breeder-counts span {
  padding: 4px 7px;

  background: #f1f4f1;

  border-radius: 999px;

  font-size: 10px;
}

.admin-breeder-state {
  display: inline-flex;

  padding: 4px 8px;

  background: #f0f1f2;

  border-radius: 999px;

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

.admin-breeder-state.online {
  background: #e7f3e3;
  color: #2b631c;
}

.admin-breeder-detail-head {
  margin-bottom: 7px;
}

.admin-back-link {
  color: #657588;

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

  text-decoration: none;
}

.admin-breeder-detail-actions {
  display: flex;

  gap: 6px;
}

.admin-breeder-detail-grid {
  display: grid;

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

  gap: 7px;

  margin: 7px 0;
}

.admin-breeder-panel h3 {
  margin: 0 0 12px;
}

.admin-breeder-panel dl {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 6px 15px;

  margin: 0;
}

.admin-breeder-panel dt {
  color: #667588;

  font-size: 11px;
}

.admin-breeder-panel dd {
  margin: 0;

  text-align: right;

  font-weight: 800;
}

.admin-content-counters {
  display: grid;

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

  gap: 5px;
}

.admin-content-counters span {
  display: grid;

  padding: 10px;

  background: #f4f7f3;

  border-radius: 9px;

  color: #667588;

  font-size: 10px;
}

.admin-content-counters strong {
  color: #294257;

  font-size: 20px;
}

.admin-breeder-wide {
  margin: 7px 0;
}

.admin-breeder-muted {
  color: #718091;

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

.admin-breeder-minirow {
  display: grid;

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

  gap: 3px 8px;

  padding: 8px 0;

  border-bottom: 1px solid #eef0f2;
}

.admin-breeder-minirow small {
  grid-column: 1 / -1;

  color: #718091;
}

.admin-activity-list {
  display: grid;

  gap: 3px;
}

.admin-activity-list article {
  display: grid;

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

  gap: 8px;

  padding: 8px;

  background: #f6f8f5;

  border-radius: 8px;

  font-size: 11px;
}

.admin-activity-list time,
.admin-activity-list small {
  color: #718091;
}

@media (max-width:900px) {

  .admin-breeder-stats {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .admin-breeder-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-activity-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width:600px) {

  .admin-breeder-control {
    width: 100%;
    padding: 5px;
  }

  .admin-breeder-head,
  .admin-breeder-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-breeder-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-content-counters {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}


/* =========================================================
   N7-BREEDERS-HUB-V1
   Carrefour clair visiteurs / professionnels
   ========================================================= */

.breeders-hub-page{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
    padding:44px 0 72px;
}

.breeders-hub-intro{
    max-width:760px;
    margin:0 auto 34px;
    text-align:center;
}

.breeders-hub-intro h1{
    margin:8px 0 12px;
    font-size:clamp(2rem,5vw,3.4rem);
    line-height:1.05;
}

.breeders-hub-intro > p:last-child{
    max-width:680px;
    margin:0 auto;
    font-size:1.08rem;
    line-height:1.65;
}

.breeders-hub-choices{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    align-items:stretch;
}

.breeders-hub-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:410px;
    padding:34px;
    border:1px solid rgba(22,43,38,.13);
    border-radius:26px;
    background:#fff;
    box-shadow:0 18px 50px rgba(18,45,37,.08);
}

.breeders-hub-card-pro{
    background:
        linear-gradient(
            145deg,
            rgba(245,250,246,.98),
            rgba(255,255,255,1)
        );
}

.breeders-hub-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    margin-bottom:26px;
    border-radius:18px;
    background:#eef5ef;
    font-size:1.8rem;
}

.breeders-hub-card h2{
    margin:0 0 12px;
    font-size:clamp(1.55rem,3vw,2.1rem);
}

.breeders-hub-card p{
    margin:0 0 20px;
    line-height:1.65;
}

.breeders-hub-pro-badge{
    position:absolute;
    top:20px;
    right:20px;
    padding:7px 12px;
    border-radius:999px;
    background:#173f34;
    color:#fff;
    font-size:.78rem;
    font-weight:700;
}

.breeders-hub-free{
    display:block;
    margin:4px 0 22px;
    font-size:1rem;
    line-height:1.45;
}

.breeders-hub-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin-top:auto;
    padding:12px 20px;
    border-radius:14px;
    background:#173f34;
    color:#fff;
    font-weight:700;
    text-decoration:none;
}

.breeders-hub-button:hover{
    transform:translateY(-1px);
}

.breeders-hub-button-pro{
    background:#8b5d34;
}

.breeders-hub-card small{
    display:block;
    margin-top:14px;
    line-height:1.5;
    opacity:.72;
}

@media (max-width:760px){

    .breeders-hub-page{
        width:min(100% - 22px,1180px);
        padding-top:28px;
    }

    .breeders-hub-choices{
        grid-template-columns:1fr;
        gap:16px;
    }

    .breeders-hub-card{
        min-height:auto;
        padding:24px;
        border-radius:20px;
    }

    .breeders-hub-pro-badge{
        position:static;
        width:max-content;
        margin-bottom:14px;
    }

    .breeders-hub-button{
        width:100%;
        margin-top:12px;
    }
}


/* =========================================================
   N7-BREEDER-ACCOUNT-V1
   Inscription professionnelle éleveur
   ========================================================= */

.breeder-account-page{
    width:min(1160px,calc(100% - 32px));
    margin:0 auto;
    padding:38px 0 72px;
}

.breeder-account-shell{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
    overflow:hidden;
    border:1px solid rgba(30,60,48,.12);
    border-radius:28px;
    background:#fff;
    box-shadow:0 20px 55px rgba(20,48,39,.09);
}

.breeder-account-intro{
    padding:42px;
    background:#f3f7f3;
}

.breeder-account-intro h1{
    margin:8px 0 14px;
    font-size:clamp(2rem,4vw,3rem);
    line-height:1.06;
}

.breeder-account-lead{
    margin:0 0 24px;
    font-size:1.06rem;
    line-height:1.65;
}

.breeder-account-free{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin:22px 0;
    padding:17px 18px;
    border-radius:16px;
    background:#fff;
}

.breeder-account-free strong{
    font-size:1.15rem;
}

.breeder-account-free span{
    line-height:1.5;
}

.breeder-account-photo{
    overflow:hidden;
    margin-top:26px;
    border-radius:20px;
    aspect-ratio:16/9;
}

.breeder-account-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.breeder-account-form-wrap{
    padding:42px;
}

.breeder-account-form{
    display:grid;
    gap:17px;
}

.breeder-account-form label{
    display:grid;
    gap:7px;
    min-width:0;
    font-weight:650;
}

.breeder-account-form input[type="text"],
.breeder-account-form input[type="email"],
.breeder-account-form input[type="password"]{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:13px 14px;
    border:1px solid rgba(31,58,49,.22);
    border-radius:12px;
    background:#fff;
    font:inherit;
}

.breeder-account-form label small{
    font-weight:400;
    opacity:.68;
}

.breeder-account-check{
    display:flex !important;
    grid-template-columns:none !important;
    flex-direction:row;
    align-items:flex-start;
    gap:10px !important;
    font-weight:400 !important;
}

.breeder-account-check input{
    flex:0 0 auto;
    margin-top:4px;
}

.breeder-account-submit{
    width:100%;
    min-height:50px;
    margin-top:5px;
    border:0;
    border-radius:14px;
    background:#173f34;
    color:#fff;
    font:inherit;
    font-weight:750;
    cursor:pointer;
}

.breeder-account-after{
    margin:0;
    font-size:.9rem;
    line-height:1.5;
    opacity:.72;
}

.breeder-account-existing{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    justify-content:center;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid rgba(31,58,49,.12);
}

.breeder-account-existing a{
    font-weight:750;
}

@media (max-width:820px){

    .breeder-account-page{
        width:min(100% - 20px,1160px);
        padding-top:22px;
    }

    .breeder-account-shell{
        grid-template-columns:1fr;
        border-radius:20px;
    }

    .breeder-account-intro,
    .breeder-account-form-wrap{
        padding:24px;
        min-width:0;
    }

    .breeder-account-photo{
        display:none;
    }

    .breeder-account-form,
    .breeder-account-form label,
    .breeder-account-form input{
        max-width:100%;
        min-width:0;
    }
}


/* N7-BREEDER-REGISTER-ERROR-V1 */

.breeder-account-error{
    margin-bottom:22px;
    padding:18px;
    border:1px solid rgba(145,67,48,.20);
    border-radius:16px;
    background:#fff4f1;
}

.breeder-account-error strong{
    display:block;
    margin-bottom:6px;
    font-size:1.05rem;
}

.breeder-account-error p{
    margin:0 0 14px;
    line-height:1.55;
}

.breeder-account-error .simple-button{
    display:inline-flex;
    text-decoration:none;
}


/* N7-BREEDER-VALIDATION-PANEL-V1 */

.breeder-validation-panel{
    width:min(1180px,calc(100% - 24px));
    box-sizing:border-box;
    margin:20px auto;
    padding:20px 22px;
    border:1px solid rgba(28,64,48,.13);
    border-radius:18px;
    background:#fff;
}

.breeder-validation-panel h2{
    margin:0 0 8px;
}

.breeder-validation-panel p{
    margin:0 0 14px;
    line-height:1.55;
}

.breeder-validation-panel button{
    min-height:46px;
    padding:11px 18px;
    border:0;
    border-radius:12px;
    background:#245f1d;
    color:#fff;
    font:inherit;
    font-weight:750;
    cursor:pointer;
}

.breeder-validation-warning,
.breeder-validation-success{
    margin-bottom:14px;
    padding:12px 14px;
    border-radius:12px;
}

.breeder-validation-warning{
    background:#fff4df;
}

.breeder-validation-success{
    background:#edf8ea;
}

@media(max-width:760px){
    .breeder-validation-panel{
        width:calc(100% - 16px);
        padding:16px;
    }

    .breeder-validation-panel button{
        width:100%;
    }
}


/* N7-BREEDER-LOGOUT-V1 */

.breeder-space-topbar{
    width:min(1180px,calc(100% - 24px));
    box-sizing:border-box;
    margin:16px auto 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.breeder-space-topbar strong{
    font-size:.95rem;
}

.breeder-space-logout{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border:1px solid rgba(30,55,48,.18);
    border-radius:11px;
    background:#fff;
    text-decoration:none;
    font-weight:700;
}

@media(max-width:760px){
    .breeder-space-topbar{
        width:calc(100% - 16px);
    }
}


/* N7-BREEDER-LOGIN-PAGE-V1 */

.breeder-account-page{
    min-height:70vh;
    padding:38px 18px 60px;
}

.breeder-account-shell{
    width:min(960px,100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    overflow:hidden;
    border:1px solid rgba(24,56,45,.13);
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 55px rgba(25,48,38,.08);
}

.breeder-account-copy{
    padding:44px;
    background:#f2f7ef;
}

.breeder-account-copy h1{
    margin:10px 0 14px;
    font-size:clamp(2rem,4vw,3.2rem);
    line-height:1;
}

.breeder-account-form{
    padding:44px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.breeder-account-form label{
    display:flex;
    flex-direction:column;
    gap:7px;
    font-weight:750;
}

.breeder-account-form input{
    min-height:48px;
    box-sizing:border-box;
    padding:10px 13px;
    border:1px solid #cad5d0;
    border-radius:12px;
    font:inherit;
}

.breeder-account-form button{
    min-height:50px;
    border:0;
    border-radius:13px;
    background:#225f1e;
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.breeder-login-message,
.breeder-login-error{
    margin-top:20px;
    padding:12px 14px;
    border-radius:12px;
}

.breeder-login-message{
    background:#e8f5e4;
}

.breeder-login-error{
    background:#fff0eb;
}

.breeder-login-create{
    margin:4px 0 0;
    text-align:center;
}

@media(max-width:760px){
    .breeder-account-shell{
        grid-template-columns:1fr;
    }

    .breeder-account-copy,
    .breeder-account-form{
        padding:26px 20px;
    }
}

