/* ==================================================
   CUSTOM STYLES - Heavenly Stars
   ================================================== */

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    z-index: 999999;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    overflow: hidden;
}
.whatsapp-float img {
    width: 40px;
    height: 40px;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.whatsapp-pulse {
    animation: pulse 0.7s ease;
}

/* Nieuws Grid */
.terry-post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.terry-post-grid.terry-columns-3 { grid-template-columns: repeat(3, 1fr); }
.terry-post-grid.terry-columns-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) {
    .terry-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .terry-post-grid { grid-template-columns: 1fr; }
}

.terry-post-card {
    text-align: left;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.terry-post-card:hover {
    transform: translateY(-5px);
}
.terry-post-content {
    padding: 20px;
}
.terry-post-cat {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
}
.terry-post-title {
    font-size: 18px;
    margin: 0 0 10px 0;
}
.terry-post-date {
    font-size: 13px;
    color: #777;
    margin: 0 0 12px 0;
}
.terry-post-excerpt {
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    margin: 0 0 15px 0;
}

/* Homepage Nieuws Carousel */
.homepage-news-carousel-wrapper {
    position: relative;
    margin: 40px 0;
}
.homepage-news-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
}
.homepage-news-carousel::-webkit-scrollbar { display: none; }
.news-card {
    flex: 0 0 300px;
    max-width: 300px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-card-image img {
    display: block;
}
.news-card-content {
    padding: 15px;
    text-align: left;
}
.news-cat {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    color: #492369;
}
.news-title {
    font-size: 18px;
    margin: 10px 0;
}
.news-date {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 8px;
}
.news-excerpt {
    font-size: 14px;
    line-height: 1.5;
}

		/* Parent container moet relative zijn en overflow zichtbaar */
.woocommerce ul.products li.product,
.woocommerce div.product div.images {
    position: relative;
    overflow: visible !important; /* essentieel zodat tooltip buiten container zichtbaar is */
}

/* Carousel knoppen */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(73,35,105,0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
.carousel-prev { left: -25px; }
.carousel-next { right: -25px; }
.arrow-left::before { content: "←"; }
.arrow-right::before { content: "→"; }

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.faq-item summary {
    padding: 15px 0;
    font-weight: 600;
    cursor: pointer;
}
.faq-answer {
    padding: 0 0 15px 0;
    line-height: 1.6;
}

 /* Container van alle awards */
.kennel-awards {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    z-index: 9999;
    
}

/* Individueel award */
.kennel-award {
    position: relative;
    cursor: pointer;
    max-width:60px;
    margin-right:6px;
}


/* Standaard (desktop) */
.kennel-award img {
     width: 30px;
    height: auto;
    display: block;flex-shrink: 0;  
}

/* Tablet / mobiel */
@media screen and (max-width: 1023px) {
    .kennel-award img {
        width: 40px;
    }
}


/* Tooltip boven het icoon */
.kennel-award-tooltip {
    position: absolute;
    bottom: 100%;           /* boven het icoon */
    left: 50%;              /* horizontaal centreren */
    transform: translateX(-50%) translateY(-6px); /* kleine offset omhoog */
    background: #492369;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 99999;
    display: none;
    pointer-events: none;
    text-align:center
}

/* Tooltip zichtbaar bij hover of click */
.kennel-award.is-active .kennel-award-tooltip,
.kennel-award:hover .kennel-award-tooltip {
    display: block;
}

/* Kleine ondertekst */
.kennel-award-tooltip span {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}
