/* ======================================================
   PAGINA BASIS
====================================================== */

body.page-template-honden {
    background-color: #f9fafb;
}

.ace-detail-container {
    max-width: 1350px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
	grid-template-columns: minmax(0,3fr) minmax(0,1fr);
    gap: 60px;
}

@media (max-width: 1000px) {
    .ace-detail-container {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* HEADER PREMIUM */
/* ============================= */

.ace-header {
    background: linear-gradient(135deg, #2b3e50, #1e2c38);
    padding: 20px 30px;
    border-radius: 28px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
	
	position: relative;
    z-index: 20;
}

.ace-header h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.ace-header .dog-id {
    font-size: 18px;
    opacity: .7;
    margin-left: 12px;
}

/* Header iconen */

.header-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    margin-left:12px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    cursor:pointer;
    transition:.2s ease;
    font-size:16px;
}

.header-icon:hover{
    background:rgba(255,255,255,0.3);
    transform:scale(1.1);
}

.header-icon.virtual-icon {
    background: rgba(46, 204, 113, 0.45);
}

.header-icon.clinic-icon {
    background: #e74c3c;
}



/* ======================================
   STATUS BADGES (HEADER)
====================================== */

.ace-status {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    margin-left: 12px;
}

/* Geadopteerd */
.status-adopted {
    background: linear-gradient(135deg,#60CE70,#49b65a);
}

/* Gereserveerd */
.status-reserved {
    background: linear-gradient(135deg,#5CC0DE,#3ca7c8);
}

/* Pre-reservatie */
.status-prereserve {
    background: linear-gradient(135deg,#f0ad4e,#d9963e);
}

/* Overleden */
.status-passed {
    background: #000;
}

/* Projectje */
.status-project {
    background: linear-gradient(135deg,#D9534F,#b9423d);
}


/* ======================================================
   TOP GRID (Slider + Properties)
====================================================== */

.ace-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

@media (max-width: 1000px) {
    .ace-top-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================
   SLIDER – CONSISTENT MET THUMBS
====================================================== */

.ace-slider {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Slider viewport */
.ace-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(#f6f6f6,#eeeeee);
}

/* Slides */
.ace-slide {
    position: absolute;
    inset: 0;
	pointer-events: none;   /* 🔥 KEY FIX */
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 30%;
    opacity: 0;
    transition: opacity .4s ease;
    will-change: opacity;
    display: block;
}

.ace-slide.active {
    opacity: 1;
	pointer-events: auto;   /* 🔥 alleen deze is klikbaar */
    z-index: 2;
}

/* Thumbnails – Desktop default */
.ace-thumbs {
    display: flex;
    gap: 15px;          /* Desktop spacing */
    margin-top: 20px;
}

.ace-thumb {
    width: 102px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 20% 20%;
    border-radius: 12px;
    cursor: pointer;
    opacity: .6;
    transition: .2s ease;
}

.ace-thumb.active,
.ace-thumb:hover {
    opacity: 1;
    transform: translateY(-4px);
}


/* Mobile override */
@media (max-width: 600px) {

    .ace-thumbs {
        gap: 8px;      /* Kleinere spacing op mobiel */
    }

    .ace-thumb {
        width: 60px;
    }

}

/* ============================= */
/* PREMIUM PROPERTY CARDS */
/* ============================= */

.ace-prop-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.property-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #f2f2f2;
    font-weight: 600;
    font-size: 16px;
    color: #2b3e50;
    transition: all 0.3s ease;
}

.property-item i {
    font-size: 24px;
    color: #DF691A;
    width: 26px;
    text-align: center;
}

.property-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: #DF691A;
}


/* ======================================================
   BESCHRIJVING
====================================================== */

.ace-description-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}


.ace-section h2 {
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 700;
}

.ace-description {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

/* ============================= */
/* YOUTUBE */
/* ============================= */

/* ============================= */
/* YOUTUBE PREMIUM */
/* ============================= */

.ace-youtube-section {
    margin-top: 60px;    
}

.ace-youtube-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 50px;
    align-items: start;
}

.ace-youtube-links {
    background: #ffffff;
    border-radius: 22px;
   
}

.ace-youtube-links h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.ace-youtube-links a {
    display: block;
    font-size: 13px;
    color: #DF691A;
    margin-bottom: 12px;
    word-break: break-all;
    text-decoration: none;
}

.ace-youtube-links a:hover {
    text-decoration: underline;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 0;
}

@media (max-width: 1000px){
    .ace-youtube-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================================
   CTA ROW PREMIUM
====================================== */

.ace-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
    flex-wrap: nowrap;
}


.ace-btn-primary {
    background: linear-gradient(135deg,#DF691A,#c95a14);
    color: #fff;
    box-shadow: 0 10px 30px rgba(223,105,26,0.35);
}

.ace-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(223,105,26,0.45);
}

.ace-btn-light {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    color: #2b3e50;
}

.ace-btn-light:hover {
    background: #f9fafb;
    transform: translateY(-3px);
}

@media (max-width: 1200px){
    .ace-cta-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* =========================================
   PREMIUM STICKY SIDEBAR
========================================= */

.ace-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 4px;
}

/* Mooie scrollbar */
.ace-sidebar::-webkit-scrollbar {
    width: 6px;
}
.ace-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}
.ace-sidebar::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Sidebar cards */
.ace-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    border: 1px solid #f1f1f1;
    transition: all .2s ease;
}

.ace-sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.ace-sidebar-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}


.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b3e50;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    background: #DF691A;
    color: #ffffff;
    transform: translateY(-2px);
}

.share-extra{
    margin-top:15px;
}

.ace-share-link{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:none;
    background:#e7dfd7;
    font-size:15px;
    cursor:pointer;
    text-align:left;
}

.ace-share-link:hover{
    background:#ddd4cc;
}



/* ============================= */
/* SIDEBAR STATUS PREMIUM */
/* ============================= */

.ace-sidebar-status {
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.ace-sidebar-status h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.ace-sidebar-status .status-date {
    font-size: 14px;
    opacity: 0.9;
}

/* Kleuren exact zoals header */

.status-pre {
    background: linear-gradient(135deg,#f0ad4e,#d9963e);
}

.status-reserved {
    background: linear-gradient(135deg,#5CC0DE,#3ca7c8);
}

.status-adopted {
    background: linear-gradient(135deg,#60CE70,#49b65a);
}

.status-passed {
    background: #000000;
}

/* ============================= */
/* SIDEBAR STATUS KAARTEN */
/* ============================= */

.ace-sidebar .card-success,
.ace-sidebar .card-info,
.ace-sidebar .card-pre,
.ace-sidebar .card-passed {
    border-radius: 18px;
    padding: 26px;
    color: #ffffff;
    font-weight: 600;
}

.ace-sidebar .card-success {
    background: linear-gradient(135deg,#60CE70,#49b65a);
}

.ace-sidebar .card-info {
    background: linear-gradient(135deg,#5CC0DE,#3ca7c8);
}

.ace-sidebar .card-pre {
    background: linear-gradient(135deg,#f0ad4e,#d9963e);
}

.ace-sidebar .card-passed {
    background:#000000;
}

.ace-sidebar .card-success h4,
.ace-sidebar .card-info h4,
.ace-sidebar .card-pre h4,
.ace-sidebar .card-passed h4 {
    color:#ffffff;
    margin:0;
}

.bought_by_info {
    background:#DAF5F9;
    border-radius:18px;
    padding:14px 18px;
    font-weight:400;
    line-height:1.35;
}

.bought-by-card{
    background:#DAF5F9;
    border-radius:18px;
    padding:16px 18px;
    border:1px solid #c9eef5;
    line-height:1.35;
}

.bought-by-card h4{
    margin:0 0 6px 0;
    font-weight:700;
}

.bought-by-card p{
    margin:0;
}


/* Favorieten */
.ace-favorites-box {
    font-weight: 600;
    cursor: pointer;
}

.ace-favorites-box i {
    color: #E41B17;
    margin-right: 8px;
}



/* ======================================
   SUPPORT ROW PREMIUM
====================================== */

.ace-support-row {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 10px;
    margin-bottom: 50px;
}

.ace-support-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.ace-support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
}

@media (max-width: 1100px){
    .ace-support-row {
        grid-template-columns: 1fr;
    }
}
.support-donate-btn{
    background:#d35400;
    color:white;
    border-radius:30px;
    padding:10px 18px;
    display:inline-block;
    margin-top:10px;
}

/* ======================================
   PREMIUM PROPERTY CARD
====================================== */

.property-card-premium {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.property-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    font-size: 16px;
    font-weight: 600;
    color: #2b3e50;
    transition: all .25s ease;
}

.property-row i {
    font-size: 28px;
    color: #DF691A;
    width: 32px;
    text-align: center;
}

.property-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}


/* ======================================
   STATUS UITLEG (SUPPORT BLOCK)
====================================== */

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.status-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    min-width: 130px;
    text-align: center;
    color: #fff;
}

.status-text {
    font-size: 15px;
    color: #555;
}

/* Kleuren exact zoals vroeger */

.pre_reserve {
    background: linear-gradient(135deg,#f0ad4e,#d9963e);
}

.reservable {
    background: linear-gradient(135deg,#5CC0DE,#3ca7c8);
}

.adopted {
    background: linear-gradient(135deg,#60CE70,#49b65a);
}
/* ======================================
   VIRTUELE ADOPTIE CARD (OUDE STIJL)
====================================== */

.sidebar_virtual_adopter{
    background:linear-gradient(135deg, #2b3e50, #1e2c38);
    color:#ffffff;
    border-radius:18px;
	line-height:1.35;
	display: block;
}

.sidebar_virtual_adopter h3{
    color:#ffffff;
    margin-top:0;
}

.sidebar_virtual_adopter strong{
    margin-top:8px;
    font-size:16px;
}

.sidebar_clinic_status{
    background: linear-gradient(135deg,#d64536,#a93226);
    color:#ffffff;
    border-radius:18px;
    line-height:1.35;
}

.sidebar_clinic_status p{
    margin:0;
}

.sidebar_clinic_status strong{
    font-weight:700;
}


/* Donkerblauwe ronde knop */
.ace-btn-virtual {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 40px;
    background: #2b3e50;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.ace-btn-virtual:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
/* ======================================
   DONATION CARD PREMIUM
====================================== */

.ace-donation-card {
    background: linear-gradient(135deg,#ffffff,#fff8f3);
    border: 1px solid #f3e5dc;
    position: relative;
    overflow: hidden;
}

.donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.donation-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.donation-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.donation-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg,#DF691A,#c95a14);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.donation-header:hover .donation-toggle {
    transform: rotate(90deg);
}

.donation-content {
    display: none;
    margin-top: 25px;
}

/* Mollie formulier iets rustiger */
.donation-content form {
    font-size: 14px;
}
/* ======================================
   INQUIRY PREMIUM
====================================== */

.ace-inquiry-section {
    background: #ffffff;
    padding: 70px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    margin-bottom: 60px;
    padding: 50px;
}

.ace-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.inquiry-highlights {
    margin-top: 25px;
    padding-left: 0;
    list-style: none;
}

.inquiry-highlights li {
    margin-bottom: 12px;
    font-size: 16px;
}

.ace-inquiry-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.ace-inquiry-form input,
.ace-inquiry-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #f9fafb;
}

.ace-inquiry-form label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: 0.2s ease;
}

.ace-inquiry-form input:focus + label,
.ace-inquiry-form textarea:focus + label,
.ace-inquiry-form input:not(:placeholder-shown) + label,
.ace-inquiry-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: 12px;
}

.ace-inquiry-form .full {
    grid-column: span 2;
}

@media (max-width: 1100px){
    .ace-inquiry-grid {
        grid-template-columns: 1fr;
    }

    .ace-inquiry-form .full {
        grid-column: span 1;
    }
}
/* Vrijkoop badge */
.bought_by_info {
    background: #DAF5F9;
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.bought_by_info .virtual_adopter_by {
    display:block;
    font-weight:600;
    margin-bottom:6px;
}

.bought_by_info .virtual_adopter_name {
    font-weight:700;
    font-size:16px;
}



.favorite-icon.active i {
    color: #DF691A;
}
/* ============================= */
/* HEADER ICONEN PREMIUM */
/* ============================= */

.ace-header-right {
    display:flex;
    align-items:center;
    gap:14px;
}

/* Basis icon */
.header-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    cursor:pointer;
    transition:all .2s ease;
}

.header-icon i{
    color:#ffffff;
    font-size:16px;
}

.header-icon:hover{
    background:rgba(255,255,255,0.3);
    transform:scale(1.1);
}

/* FAVORIET */
.favorite-icon.is-favorite{
    background:#ffffff;
}

.favorite-icon.is-favorite i{
    color:#e53935;
}
/* ======================================
   RONDE VERZENDKNOPPEN (FORMULIEREN)
====================================== */

/* Inquiry submit */
.ace-inquiry-form button,
.ace-inquiry-section button,
#aceInquiryForm button {
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all .25s ease;
}

/* Hover effect */
#aceInquiryForm button:hover {
    transform: translateY(-2px);
}
/* Mollie / Donatie submit knop */
.donation-content button,
.donation-content input[type="submit"],
.mollie-form button,
.mollie-form input[type="submit"] {
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-weight: 600;
    transition: all .25s ease;
}
.donation-content button,
#aceInquiryForm button {
    background: linear-gradient(135deg,#DF691A,#c95a14);
    color: #ffffff;
    border: none;
}
.ace-btn-primary,
.ace-btn-primary:visited {
    color: #ffffff;
}

.ace-btn-primary:hover,
.ace-btn-primary:focus {
    color: #ffffff !important;
}
.ace-success-message {
    background: #e8f7ed;
    color: #1d6b3b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.animal-search-wrapper {
    padding: 60px 0;
}

.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.ace-card-wrapper {
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

.animal-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: all .3s ease;
}

.animal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.animal-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f5f5f5;
}

.animal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animal-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.status-adopted { background: #60CE70; }
.status-reserved { background: #5CC0DE; }
.status-prereserve { background: #f0ad4e; }
.status-project { background: #D9534F; }

.animal-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.4);
    padding: 6px 10px;
    border-radius: 50%;
}

.animal-content {
    padding: 24px;
}

.animal-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.animal-title a {
    text-decoration: none;
    color: #2B3E50;
}

.animal-id {
    font-size: 14px;
    color: #888;
    margin-left: 6px;
}

.animal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.animal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.animal-readmore {
    text-decoration: none;
    font-weight: 600;
    color: #2B3E50;
}
#content-wrap.container {
    max-width: 100% !important;
}
#primary,
#content,
.content-area,
.site-content {
    width: 100% !important;
    max-width: 100% !important;
}

.animal-search-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.no_of_animals {
    width: 100%;
    display: block;
}
/* FORCE OCEANWP LAYOUT UIT */

#primary,
#content,
.content-area,
.site-content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Verwijder bootstrap invloed */

.row {
    display: block !important;
}

/* Force grid correct */

.animal-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 40px !important;
}

/* ======================================
   MOBILE PROPERTY GRID FIX
====================================== */

@media (max-width: 768px){

    .property-card-premium {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .property-row {
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 14px;
        gap: 10px;
    }

    .property-row i {
        font-size: 18px;
        width: 20px;
    }

    /* Laatste property full width */
    .property-card-premium .property-row:last-child {
        grid-column: 1 / -1;
    }

    .property-row:hover {
        transform: none;
        box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    }

}

/* ============================= */
/* MOBILE HEADER CLEAN */
/* ============================= */

@media (max-width: 768px){

    .ace-header {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        gap: 12px;
    }

    .ace-header-left {
        width: 100%;
    }

    .ace-header h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .ace-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .ace-status {
        white-space: nowrap;
        margin-left: 0;
    }

}

@media (max-width: 768px){

    .ace-top-grid {
        margin-bottom: 20px;
    }

    .ace-description-card {
        margin-top: 15px;
		margin-bottom: 15px;
    }

    .ace-cta-row {
        margin: 20px 0;
    }

    .ace-inquiry-section {
        padding: 35px 20px;
        margin-bottom: 20px;
    }
}
	
@media (max-width: 768px){

    .ace-top-grid {
        gap: 15px;
    }

}
/* ==================================================
   HEADER COUPLE ICON
================================================== */

/* Tooltip basis */
.header-icon[data-tooltip]{
    position: relative;
}

/* Tooltip box */
.header-icon[data-tooltip]::after{
    content: attr(data-tooltip);
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #2f3e4e;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    width: 220px;
    max-width: min(240px, 90vw);
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 999;
	box-sizing:border-box;
}

/* Desktop hover */
.header-icon[data-tooltip]:hover::after{
    opacity:1;
}

/* Mobiel klik */
.header-icon.show-tooltip::after{
    opacity:1;
}

@media (max-width:768px){

.header-icon[data-tooltip]::after{
    left:0;
    right:auto;
    transform:none;
    max-width:90vw;
}

}


.sidebar_couple_notice {
    background: #f39c12;
    color: #fff;
    border-radius: 18px;
}

.sidebar_couple_notice strong {
    color: #fff;
}



/* CONTACT PANEL – VERFIJND */

.ace-contact-panel {
    display: none;
    margin-top: 15px;
}

.ace-contact-content {
    padding: 20px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
}

.ace-contact-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.ace-contact-toggle.active .ace-contact-arrow {
    transform: rotate(180deg);
}
/* =============================
   CTA ROW – MOBILE COMPACT
============================= */

@media (max-width: 768px){

    .ace-cta-row {
        display: grid;
        grid-template-columns: 1fr 1fr;  /* 2 naast elkaar */
        gap: 10px;
    }

    .ace-cta-row .ace-btn {
        padding: 12px 10px;   /* compacter */
        font-size: 14px;
        text-align: center;
        width: 100%;
        white-space: normal;  /* voorkomt overflow */
    }

}

.adoptie-status-info {
  background: #f6f7f8;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.adoptie-status-info summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

.status-lijst {
  margin-top: 14px;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.status-item p {
  margin: 0;
  line-height: 1.4;
}


.ace-status-explainer {
  margin: 10px 0 16px 0;
  background: #f4f6f8;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
}

.ace-status-explainer summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ace-status-grid {
  margin-top: 10px;
  
}

.ace-status-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.ace-status-item span:last-child {
  line-height: 1.4;
}

/* badges */
.status-badge {
  color: #fff;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.pre {
  background: #e5a23b;
}

.status-badge.gereserveerd {
  background: #55a9c6;
}

.status-badge.geadopteerd {
  background: #4caf50;
}


.ace-grid{
    width:100%;
	
}

.notranslate img {
    translate: no;
}

@media (max-width:768px){

.ace-grid{
    margin:0;
}

}
.ace-grid{
    box-sizing:border-box;
}