/* Cartes lisibles pendant le téléchargement des scripts et sans JavaScript.
   Les mêmes seuils que Slick évitent une pile verticale avant initialisation. */
.caroussel .slick-arrow:focus-visible {
    outline: 3px solid var(--sdo-orange-hover);
    outline-offset: 3px;
}

.caroussel > .responsive:not(.slick-initialized) {
    position: relative;
    --home-slide-width: 25%;
    white-space: nowrap;
    overflow-x: auto;
}

.caroussel > .responsive:not(.slick-initialized) > * {
    display: inline-block;
    width: var(--home-slide-width);
    vertical-align: top;
    white-space: normal;
}

.caroussel > .responsive:not(.slick-initialized) > .preview {
    /* Reprendre les deux marges de 10px de la carte historique. */
    width: calc(var(--home-slide-width) - 20px);
}

.caroussel > .responsive:not(.slick-initialized) > .puppy-card {
    display: inline-flex;
}

@media (max-width: 1399px) {
    .caroussel > .responsive:not(.slick-initialized) { --home-slide-width: calc(100% / 3); }
}

@media (max-width: 1099px) {
    .caroussel > .responsive:not(.slick-initialized) { --home-slide-width: 50%; }
}

@media (max-width: 799px) {
    .caroussel > .responsive:not(.slick-initialized) { --home-slide-width: 100%; }
}

.box_actu {
    color: #fff!important;
    border: 1px solid #777;
    padding: 15px;
    background: #3f3f3f!important;
}
.footer_news{
    background-color: #3f3f3f!important;
}
.box_actu .footer_news td {
    line-height: 40px;
    background: #3f3f3f!important;
    color: #fff!important;
}
.box_actu h2{
    font-family: 'Cabin Sketch';
    font-size: 22px;
    font-weight: bold;
    border-bottom:2px;
    border:solid;
    border-color: #f47206;
    border-top:0;
    border-left:0;
    border-right:0;
}
.infos_document a{
    color:#f47206;
}
.infos_document a:hover{
    color:#ff8520;
}

@media only screen and (min-width: 769px){
.document .img_document {
    padding-bottom: 0px!important;
}
.document .img_document img {
    top: 0%!important;

}
}
#response {
    margin-top: 20px;
    text-align: center;
}

.sous_h{
    font-size: 16px;
}

.box-dispo{
    background-color: #3f3f3f;
    padding: 15px;
    border: 1px solid #777;
    font-family: 'Cabin Sketch';
    
}
.box-dispo h3{
    font-family: 'Cabin Sketch';
    text-align: center;
    font-size: 26px;
    border-bottom:2px;
    border:solid;
    border-color: #f47206;
    border-top:0;
    border-left:0;
    border-right:0;
}
.box-dispo p{
    font-family: roboto;
    font-size: 18px;
}
.box-dispo a {
    color:#777
}

.box-dispo a:hover {
    color: #f3b04c;
}
.text-m{
    font-size: 18px;
    font-weight: bold;
    color: #f47206;
}
.btn_dispo{
    font-size: 14px !important;
    color: #fff !important;
    font-family: 'Open sans';
    
}

.responsive-picture {
    display: block;
}

.responsive-picture > img {
    display: block;
    max-width: 100%;
}

.cbp-fwslider ul li > a .responsive-picture > img {
    margin: 0 auto;
    border: 0;
}

.front-scroll-navigation {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 58px;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: #f47206;
    color: #fff;
    font: 600 11px/1.1 "Open Sans", sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}

.front-scroll-navigation.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.front-scroll-navigation:hover,
.front-scroll-navigation:focus-visible {
    background: #ff8520;
    color: #fff;
    outline: 3px solid rgba(244, 114, 6, .35);
    outline-offset: 2px;
}

.front-scroll-navigation .fa {
    font-size: 20px;
}

@media (max-width: 767px) {
    .front-scroll-navigation {
        right: 10px;
        bottom: 14px;
        min-width: 50px;
        min-height: 50px;
        padding: 7px;
    }

    .front-scroll-navigation span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
/* Jetons de la charte graphique du Sang d'Orthos. */
:root {
    --sdo-orange: #f47206;
    --sdo-orange-hover: #ff8520;
    --sdo-orange-dark: #d95f00;
    --sdo-page: #3f3f3f;
    --sdo-surface: #303030;
    --sdo-surface-deep: #272421;
    --sdo-border: #5b5b5b;
    --sdo-text: #f5f1ec;
    --sdo-text-muted: #d0cbc5;
    --sdo-light: #f5f1ec;
    --sdo-ink: #272421;
}

/* Introductions des rubriques et choix des cookies. */
.sdo-editorial-intro {
    width: 100%;
    max-width: 70rem;
    margin: clamp(1.25rem, 2.5vw, 2rem) auto 2rem;
    padding: 0 .75rem;
    color: var(--sdo-text);
    text-align: center;
    line-height: 1.6;
}
.sdo-editorial-intro::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 0 auto .875rem;
    background: var(--sdo-orange);
}
.sdo-editorial-intro .sdo-editorial-intro__eyebrow {
    margin: 0 0 .75rem;
    color: var(--sdo-orange);
    font-size: .875rem !important;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-wrap: balance;
}
.sdo-editorial-intro .sdo-editorial-intro__lead {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 20px) !important;
    font-weight: 400;
    line-height: 1.7;
    text-wrap: balance;
}
.sdo-editorial-details {
    width: 100%;
    max-width: 70rem;
    margin: 2rem auto;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: var(--sdo-surface);
    border: 1px solid var(--sdo-border);
    border-radius: 4px;
    color: var(--sdo-text);
    text-align: left;
}
.sdo-editorial-details h2 {
    margin: 0 0 1rem;
    color: var(--sdo-text);
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none;
}
.sdo-editorial-details p {
    margin: 0;
    color: var(--sdo-text-muted);
    font-size: 16px !important;
    line-height: 1.75;
}
.sdo-editorial-details p + p {
    margin-top: 1rem;
}

.sdo-editorial-details .sdo-health-tests {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: .15rem;
    margin: 1rem 0 1.25rem;
    padding: 0;
    font-size: 16px;
    line-height: 1.75;
}
.sdo-editorial-details .sdo-health-tests dt {
    margin: 0;
    color: var(--sdo-text);
    font-size: inherit;
    font-weight: 700;
}
.sdo-editorial-details .sdo-health-tests dd {
    margin: 0 0 .65rem;
    color: var(--sdo-text-muted);
    font-size: inherit;
}
@media (min-width: 768px) {
    .sdo-editorial-details .sdo-health-tests {
        grid-template-columns: 7rem minmax(0, 1fr);
        gap: .55rem 1rem;
    }
    .sdo-editorial-details .sdo-health-tests dd {
        margin: 0;
    }
}
.sdo-editorial-details a {
    color: var(--sdo-orange);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.sdo-editorial-details a:hover {
    color: var(--sdo-orange-hover);
}
.sdo-editorial-details a:focus-visible {
    outline: 3px solid var(--sdo-orange-hover);
    outline-offset: 3px;
}
.cookie-custom summary:focus-visible {
    outline: 3px solid var(--sdo-orange-hover);
    outline-offset: 3px;
}
.footer .footer-links a:focus-visible {
    outline: 3px solid var(--sdo-page);
    outline-offset: 3px;
}
.footer-site-news {
    width: 100%;
    margin: 1rem 1rem 0;
    text-align: inherit;
    color: var(--sdo-text);
    line-height: 1.6;
}
.footer-site-news ul {
    padding-left: 0;
    font-weight: 700;
}
.footer .fb-page {
    width: 300px;
    max-width: 100%;
}
.footer .fb-page > span,
.footer .fb-page iframe {
    max-width: 100%;
}
.cookie-alert {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.cookie-custom {
    width: 100%;
}
.cookie-actions .cookie-custom form {
    display: block;
}
.cookie-alert .cookie-custom summary {
    min-height: 44px;
    padding: .65rem .8rem;
    border-radius: 4px;
    cursor: pointer;
}
.cookie-alert .cookie-custom button {
    min-height: 44px;
    border-radius: 4px;
}
.cookie-custom fieldset {
    margin: 1rem 0;
    padding: .75rem;
    border: 1px solid var(--sdo-border);
}
.cookie-custom legend {
    width: auto;
    padding: 0 .25rem;
    color: var(--sdo-text);
    font-size: 1rem;
}
.cookie-custom label {
    display: block;
    margin: .5rem 0;
    color: var(--sdo-text);
    font-size: .95rem;
    line-height: 1.5;
}
.cookie-custom input[type="checkbox"] {
    position: static;
    opacity: 1;
    pointer-events: auto;
}
/* Galerie chiens V3 : cartes visiteurs, liste et fiche générique. */
.home-puppies,
.puppies-page,
.dog-profile,
.dog-portrait {
    --dog-orange: var(--sdo-orange);
    --dog-orange-hover: var(--sdo-orange-hover);
    --dog-orange-dark: var(--sdo-orange-dark);
    --dog-ink: var(--sdo-ink);
    --dog-muted: #706b66;
    --dog-line: #ded8d1;
    --dog-cream: var(--sdo-light);
    --dog-surface: var(--sdo-surface);
    --dog-surface-deep: var(--sdo-surface-deep);
    --dog-border-dark: var(--sdo-border);
    --dog-text: var(--sdo-text);
    --dog-text-muted: var(--sdo-text-muted);
    color: var(--dog-ink);
}

.home-puppies {
    padding: 0;
    background: #3f3f3f;
}

.home-puppies__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin: 0;
    padding: 1.75rem clamp(1.25rem, 5vw, 6rem);
    background: var(--dog-orange);
}

.home-puppies__eyebrow,
.puppy-card__eyebrow,
.puppies-page__hero span {
    display: block;
    margin-bottom: .45rem;
    color: var(--dog-orange-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.home-puppies__eyebrow,
.puppies-page__hero span {
    color: rgba(255, 255, 255, .88);
}

.home-puppies__heading h2,
.puppies-page__hero h1 {
    margin: 0;
    color: #fff;
    font-family: "Cabin Sketch", cursive;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.05;
    text-shadow: 1px 1px #000;
    text-transform: uppercase;
}

.home-puppies__heading p {
    max-width: 700px;
    margin: .9rem 0 0;
    color: #fff;
    font-size: 1rem;
}

.home-puppies__all,
.puppies-page__contact > a {
    flex: 0 0 auto;
    padding: .85rem 1.2rem;
    border: 1px solid var(--dog-orange);
    border-radius: 4px;
    color: var(--dog-orange-dark);
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-puppies__all {
    border-color: #fff;
    color: #fff !important;
}

.home-puppies__all:hover,
.home-puppies__all:focus {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
    color: var(--dog-orange-dark) !important;
    text-decoration: none;
    transform: translateY(-2px);
}

.puppies-page__contact > a:hover,
.puppies-page__contact > a:focus {
    background: var(--dog-orange);
    color: #fff;
}

.home-puppies__all i,
.puppy-card__cta i {
    transition: transform .2s ease;
}

.home-puppies__all:hover i,
.home-puppies__all:focus i,
.puppy-card__cta:hover i,
.puppy-card__cta:focus i {
    transform: translateX(4px);
}

.home-puppies__carousel.caroussel {
    width: 100%;
    margin: 0;
    padding: 2.75rem clamp(1rem, 4.5vw, 5.5rem) 3.25rem;
    background: #3f3f3f;
}

.home-puppies__carousel .responsive {
    width: 100%;
    max-width: none;
    margin: 0;
}

.home-puppies__carousel .slick-track {
    display: flex;
}

.home-puppies__carousel .slick-list {
    margin: 0 -14px;
    padding: 6px 0 22px;
}

.home-puppies__carousel .slick-slide {
    height: auto;
    padding: 0 14px;
}

.home-puppies__carousel .slick-slide.puppy-card {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .2));
}

.home-puppies__carousel .slick-slide.puppy-card:hover {
    box-shadow: none;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .28));
}

.home-puppies__carousel .slick-slide.puppy-card:hover .puppy-card__body,
.home-puppies__carousel .slick-slide.puppy-card:focus-within .puppy-card__body {
    border-color: var(--dog-orange);
}

.home-puppies__carousel .slick-slide .puppy-card__media {
    border-radius: 5px 5px 0 0;
}

.home-puppies__carousel .slick-slide .puppy-card__body {
    height: auto;
    border: 1px solid var(--dog-border-dark);
    border-top: 0;
    border-radius: 0 0 5px 5px;
    background: var(--dog-surface);
}

.home-puppies__carousel .slick-slide > div {
    height: 100%;
}

.home-puppies__carousel .slick-prev,
.home-puppies__carousel .slick-next {
    z-index: 3;
}

.puppy-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--dog-border-dark);
    border-radius: 5px;
    background: var(--dog-surface);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    text-align: left;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.puppy-card:hover,
.puppy-card:focus-within {
    border-color: var(--dog-orange);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.puppy-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--dog-surface-deep);
}

.puppy-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.puppy-card:hover .puppy-card__media img,
.puppy-card:focus-within .puppy-card__media img {
    transform: scale(1.025);
}

.puppy-card__media:focus-visible,
.puppy-card__cta:focus-visible {
    outline: 3px solid rgba(244, 114, 6, .75);
    outline-offset: 3px;
}

.puppy-card__photo-count {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    padding: .35rem .6rem;
    border-radius: 3px;
    background: rgba(28, 26, 24, .82);
    color: #fff;
    font-size: .77rem;
    font-weight: 700;
}

.puppy-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}

.puppy-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--dog-border-dark);
}

.puppy-card__heading h3 {
    margin: 0;
    color: var(--dog-text);
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.18;
    text-shadow: none;
}

.puppy-card__sex {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(244, 114, 6, .7);
    border-radius: 50%;
    background: var(--dog-surface-deep);
    color: var(--dog-orange);
    font-size: 1rem;
}

.puppy-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem 1rem;
    margin: 1rem 0;
}

.puppy-card__facts div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.puppy-card__facts dt,
.puppy-card__facts dd {
    margin: 0;
}

.puppy-card__facts dt {
    color: var(--dog-text-muted);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.puppy-card__facts dt i {
    width: 14px;
    color: var(--dog-orange);
}

.puppy-card__facts dd {
    margin-top: .15rem;
    color: var(--dog-text);
    font-size: .91rem;
    font-weight: 700;
}

.puppy-card__summary {
    flex: 1 1 auto;
    margin: 0 0 1rem;
    color: var(--dog-text-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.puppy-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .9rem;
    border-top: 1px solid var(--dog-border-dark);
    color: var(--dog-orange);
    font-size: .9rem;
    font-weight: 800;
    transition: color .2s ease;
}

.puppy-card__cta:hover,
.puppy-card__cta:focus {
    color: var(--dog-orange-hover) !important;
    text-decoration: none;
}

.puppy-card__eyebrow {
    color: var(--dog-orange);
}

.home-puppies__empty,
.puppies-page__empty {
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--dog-border-dark);
    background: var(--dog-surface);
    color: var(--dog-text);
    text-align: center;
}

.home-puppies__empty {
    margin: 2.75rem clamp(1rem, 4.5vw, 5.5rem) 3.25rem;
}

.home-puppies__empty > i,
.puppies-page__empty > i {
    color: var(--dog-orange);
    font-size: 2rem;
}

.puppies-page {
    min-height: 50vh;
    background: #3f3f3f;
}

.puppies-page__hero {
    padding: 5.5rem 0 2.5rem;
    background: var(--dog-orange);
    text-align: center;
}

.puppies-page__hero .container {
    width: 100%;
    max-width: 1500px;
    padding-right: clamp(1rem, 4vw, 4rem);
    padding-left: clamp(1rem, 4vw, 4rem);
}

.puppies-page__hero p {
    max-width: 750px;
    margin: 1rem auto 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.65;
}

.puppies-page__content.container {
    width: 100%;
    max-width: 1600px;
    padding: 3.5rem clamp(1rem, 4.5vw, 5rem) 4.5rem;
}

.puppies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 2rem;
}

.puppies-page__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #5b5b5b;
    border-left: 4px solid var(--dog-orange);
    background: #303030;
    color: #fff;
}

.puppies-page__contact strong,
.puppies-page__contact span {
    display: block;
}

.puppies-page__contact strong {
    margin-bottom: .25rem;
    font-size: 1.1rem;
}

.puppies-page__contact span {
    color: #d6d6d6;
}

.dog-profile {
    padding: 3.5rem 0;
    background: #3f3f3f;
}

.dog-profile > .container,
.dog-portrait > .container {
    width: 100%;
    max-width: 1500px;
    padding-right: clamp(1rem, 4.5vw, 5rem);
    padding-left: clamp(1rem, 4.5vw, 5rem);
}

.dog-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .8fr);
    gap: 2.25rem;
    align-items: start;
}

.dog-profile__gallery,
.dog-profile__summary {
    min-width: 0;
}

.dog-profile__summary {
    padding: 1.75rem;
    border-top: 4px solid var(--dog-orange);
    background: #303030;
    color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

.dog-profile__status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .8rem;
    color: var(--dog-orange-dark);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dog-profile--memoriam .dog-profile__status {
    color: #d0d0d0;
}

.dog-profile__summary h2 {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-shadow: none;
}

.dog-profile__nickname {
    margin: .45rem 0 0;
    color: #d0d0d0;
    font-style: italic;
}

.dog-profile__facts {
    margin: 1.5rem 0;
}

.dog-profile__facts div {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
    gap: .75rem;
    padding: .72rem 0;
    border-bottom: 1px solid #555;
}

.dog-profile__facts dt,
.dog-profile__facts dd {
    margin: 0;
}

.dog-profile__facts dt {
    color: #c8c8c8;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dog-profile__facts dd {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

.dog-profile__facts dd a {
    color: var(--dog-orange-dark);
}

.dog-profile__actions {
    display: grid;
    gap: .75rem;
}

.dog-profile__primary-action,
.dog-profile__secondary-action {
    display: block;
    padding: .85rem 1rem;
    border-radius: 3px;
    font-weight: 800;
    text-align: center;
}

.dog-profile__primary-action {
    background: var(--dog-orange);
    color: #fff;
}

.dog-profile__primary-action:hover,
.dog-profile__primary-action:focus {
    background: var(--dog-orange-dark);
    color: #fff;
}

.dog-profile__secondary-action {
    border: 1px solid #6b6b6b;
    color: #fff;
}

.dog-profile__secondary-action:hover,
.dog-profile__secondary-action:focus {
    border-color: var(--dog-orange);
    color: var(--dog-orange);
}

.dog-gallery__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #555;
    background: #292929;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
}

.dog-gallery__open {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.dog-gallery__open img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dog-gallery__nav,
.dog-lightbox__nav {
    position: absolute;
    top: 50%;
    display: grid;
    width: 42px;
    height: 52px;
    place-items: center;
    border: 0;
    background: rgba(30, 28, 26, .78);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
}

.dog-gallery__nav--prev,
.dog-lightbox__nav--prev { left: .75rem; }
.dog-gallery__nav--next,
.dog-lightbox__nav--next { right: .75rem; }

.dog-gallery__counter {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    padding: .38rem .65rem;
    border-radius: 3px;
    background: rgba(30, 28, 26, .82);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

.dog-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .75rem;
}

.dog-gallery__thumb {
    overflow: hidden;
    padding: 0;
    border: 3px solid transparent;
    background: #292929;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.dog-gallery__thumb.is-active {
    border-color: var(--dog-orange);
}

.dog-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-gallery__single-hint {
    display: block;
    margin: .65rem 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e0e0e0;
    font-size: .82rem;
    cursor: pointer;
}

.dog-lightbox[hidden] {
    display: none;
}

.dog-lightbox {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    padding: 3rem;
    place-items: center;
}

.dog-lightbox__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(12, 11, 10, .94);
}

.dog-lightbox__content {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1200px, 92vw);
    height: min(82vh, 850px);
    place-items: center;
}

.dog-lightbox__content img {
    max-width: 100%;
    max-height: calc(100% - 50px);
    object-fit: contain;
}

.dog-lightbox__content p {
    align-self: end;
    margin: .75rem 0 0;
    color: #fff;
    text-align: center;
}

.dog-lightbox__close {
    position: absolute;
    z-index: 2;
    top: -1.5rem;
    right: -1.5rem;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: #1f1d1b;
    color: #fff;
    cursor: pointer;
}

body.has-dog-lightbox {
    overflow: hidden;
}

.dog-portrait {
    padding: 3.5rem 0;
    border-top: 1px solid #575757;
    background: #3f3f3f;
    color: #fff;
}

.dog-portrait h2 {
    position: relative;
    margin: 0 0 1.5rem;
    padding-bottom: .75rem;
    color: #fff;
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: none;
}

.dog-portrait h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    background: var(--dog-orange);
    content: '';
}

.dog-portrait__content {
    color: #eee;
    font-size: 1rem;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .puppies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dog-profile__layout {
        grid-template-columns: 1fr;
    }

    .dog-profile__summary {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .home-puppies {
        padding: 0;
    }

    .home-puppies__heading,
    .puppies-page__contact {
        align-items: stretch;
        flex-direction: column;
    }

    .home-puppies__heading {
        padding: 1.5rem 1rem;
    }

    .home-puppies__carousel.caroussel {
        padding: 2rem 1rem 2.5rem;
    }

    .home-puppies__all,
    .puppies-page__contact > a {
        align-self: flex-start;
    }

    .puppies-page__hero {
        padding: 4.75rem 0 2rem;
    }

    .puppies-page__content.container {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .puppies-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .dog-profile {
        padding: 1.25rem 0 2.5rem;
    }

    .dog-profile__layout {
        gap: 1.25rem;
    }

    .dog-profile__summary {
        padding: 1.25rem;
    }

    .dog-gallery__stage {
        aspect-ratio: 1 / 1;
    }

    .dog-gallery__thumbs {
        display: flex;
        overflow-x: auto;
        padding-bottom: .35rem;
        scroll-snap-type: x mandatory;
    }

    .dog-gallery__thumb {
        flex: 0 0 88px;
        scroll-snap-align: start;
    }

    .dog-gallery__nav {
        width: 38px;
        height: 46px;
    }

    .dog-lightbox {
        padding: 1rem;
    }

    .dog-lightbox__close {
        top: 0;
        right: 0;
    }

    .dog-lightbox__nav--prev { left: 0; }
    .dog-lightbox__nav--next { right: 0; }

    .dog-portrait {
        padding: 2.5rem 0;
    }
}

@media (max-width: 420px) {
    .puppy-card__facts {
        grid-template-columns: 1fr;
    }

    .puppy-card__facts div:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .dog-profile__facts div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .dog-profile__facts dd {
        text-align: left;
    }
}

@media (max-width: 320px) {
    .dog-profile ~ .contenu-tabs .contenu_details > div {
        padding-right: 0;
        padding-left: 0;
    }

    .dog-profile ~ .contenu-tabs .table-chiens {
        width: 100%;
        table-layout: fixed;
    }

    .dog-profile ~ .contenu-tabs .table-chiens th,
    .dog-profile ~ .contenu-tabs .table-chiens td {
        padding-right: .45rem;
        padding-left: .45rem;
        overflow-wrap: anywhere;
    }

    .footer div.social-network {
        width: 100%;
        max-width: 250px;
        margin-right: auto;
        margin-left: auto;
    }

    .footer .h6.small.about {
        display: block;
        max-width: 100%;
        font-size: clamp(1rem, 8vw, 1.25rem);
        overflow-wrap: anywhere;
    }
}
