/*
Theme Name: YOOtheme Child
Theme URI: https://yootheme.com
Template: yootheme
Author: YOOtheme
Author URI: https://yootheme.com
Description: A powerful, flexible and elegant website builder that allows you to create complex pages within minutes and customize every aspect of the theme.
Version: 5.0.34.1779985184
Updated: 2026-05-28 18:19:44

*/

/* ── Animal Card – info list ──────────────────────────────────────────── */
.animal-infos {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    font-size: 0.82rem;
}
.animal-infos li {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: baseline;
    padding: 5px 0;
    /* border-bottom: 1px solid #f0f0f0; */
    column-gap: 8px;
}
.ai-label {
    color: #837d7a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-label [uk-icon] {
    color: #b86241;
}
.ai-value {
    font-weight: 500;
    text-align: left;
}

/* ── Animal Filter Bar ────────────────────────────────────────────────── */
.animal-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.af-count-wrap {
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
}
.af-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b86241;
    margin-right: 3px;
}
.af-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.af-select {
    padding: 10px 38px 10px 18px;
    border: 1px solid #b86241;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #000;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 9px 6px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 110px;
    transition: border-color 0.15s;
}
.af-select:hover,
.af-select:focus {
    border-color: #b86241;
    outline: none;
}
/* Prevent flash during filter animation (transitions managed by JS) */
.af-grid > div {
    will-change: transform, opacity;
}

/* ── Modale animal ────────────────────────────────────────────────────── */
.am-dialog {
    width: 900px !important;
    border-radius: 20px;
    /* pas de overflow:hidden ici — ça couperait le bouton fermer et le uk-grid */
    padding:20px;
}

/* Ligne 1 : slider (gauche) + infos rapides (droite) */
.am-row1 {
    margin: 0 !important;
}

/* Slider */
.am-slider-col {
    background: #1a1a1a;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-left: 0 !important;
}

/* Slideshow et image seule remplissent toute la hauteur du slider col */
.am-slideshow,
.am-single-img {
    position: absolute;
    inset: 0;
}

.am-slides {
    height: 100% !important;
}
.am-slides > li {
    height: 100% !important;
}
.am-slides > li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.am-single-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.am-no-img {
    height: 320px;
    color: #555;
    background: #f0f0f0;
}

/* Barre thumbnails + slidenav */
.am-thumbstrip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: transparent;
}
.am-thumbstrip-nav {
    flex-shrink: 0;
    color: #000;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .5;
}
.am-thumbstrip-nav:hover {
    opacity: 1;
    color: #000;
}
.am-thumbstrip .uk-thumbnav {
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    margin: 0;
    gap: 3px;
    scroll-behavior: smooth;
}
.am-thumbstrip .uk-thumbnav::-webkit-scrollbar {
    display: none;
}
.am-thumbstrip .uk-thumbnav > * {
    flex-shrink: 0;
    padding-left: 0;
}
.am-thumbstrip .uk-thumbnav > * > a {
    border: none !important;
    outline: none;
    display: block;
}
.am-thumbstrip .uk-thumbnav > * > a::before {
    display: none !important;
}
.am-thumbstrip .uk-thumbnav img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #fff;
    display: block;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.am-thumbstrip .uk-thumbnav > .uk-active img,
.am-thumbstrip .uk-thumbnav > *:hover img {
    opacity: 1;
}
.am-thumbstrip .uk-thumbnav > .uk-active img,
.am-thumbstrip .uk-thumbnav > *:hover img {
    border-color: #b86241;
    border-radius: 3px;
}

/* Colonne infos (droite ligne 1) */
.am-info-col {
    padding: 30px 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 0 8px 0 0;
}
@media (max-width: 959px) {
    .am-slider-col { border-radius: 8px 8px 0 0; }
    .am-info-col   { border-radius: 0; padding: 20px 24px; }
}
.am-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #000;
}
.am-short-desc {
    color: #000;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Corps ligne 2 */
.am-body {
    padding: 20px 0 0;
    background: #fff;
}

/* Slide vidéo dans le carousel */
.am-video-slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

/* Thumbnail vidéo dans la bande de navigation */
.am-thumb-video {
    position: relative;
    display: block;
}
.am-thumb-canvas {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    border: 1px solid #fff;
    background: #111;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.am-thumbstrip .uk-thumbnav > .uk-active .am-thumb-canvas,
.am-thumbstrip .uk-thumbnav > *:hover .am-thumb-canvas {
    opacity: 1;
    border-color: #b86241;
}
.am-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
    pointer-events: none;
}

/* Card cliquable pour ouvrir la modale */
[data-am-modal] {
    cursor: pointer;
}

/* Panneaux d'infos */
.am-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
@media (max-width: 639px) {
    .am-panels {
        grid-template-columns: 1fr;
    }
}
.am-panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    height: 100%;
    box-sizing: border-box;
}
.am-panel-icon {
    color: #b86241 !important;
    flex-shrink: 0;
}
.am-panel-label {
    font-size: 0.7rem;
    color: #9a948f;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.am-panel-value {
    font-weight: 600;
    font-size: 0.88rem;
    color: #000;
    margin-top: 2px;
}

/* Ligne 2 : panel description longue */
.am-long-panel {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: #f8f0ea;
    padding: 15px;
    border-radius: 10px;
}
.am-long-panel-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #f0ddd2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.am-long-panel-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

.am-long-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #000;
}
.am-long-desc p:last-child {
    margin-bottom: 0;
}

