/* Care Ur Baby / Theme 2 — 3-column footer + testimonial grid hotfix.
   This file deliberately targets only the existing storefront footer and
   testimonials section. It does not change checkout, notifications or tracking. */

/* Footer: three equal 4/4/4 Bootstrap columns on desktop. */
.phase1-storefront footer.cub-footer--compact .cub-footer-three-cols > [class*="col-"] {
    min-width: 0;
}
.phase1-storefront footer.cub-footer--compact .footer-two__widget {
    width: 100%;
}
.phase1-storefront footer.cub-footer--compact .cub-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.phase1-storefront footer.cub-footer--compact .cub-footer-links-grid ul {
    min-width: 0;
    margin: 0;
    padding: 0;
}
.phase1-storefront footer.cub-footer--compact .cub-footer-links-grid li {
    overflow-wrap: anywhere;
}
.phase1-storefront footer.cub-footer--compact .footer-two__widget-content--contact a {
    overflow-wrap: anywhere;
    word-break: normal;
}
/* Make all information white on the existing dark-blue footer,
   including icons, headings, useful links, address and copyright. */
.phase1-storefront footer.cub-footer--compact .footer-two__widget h5,
.phase1-storefront footer.cub-footer--compact .footer-two__widget p,
.phase1-storefront footer.cub-footer--compact .footer-two__widget-content a,
.phase1-storefront footer.cub-footer--compact .footer-two__widget-content a i,
.phase1-storefront footer.cub-footer--compact .footer-two__widget .social a,
.phase1-storefront footer.cub-footer--compact .footer-two__widget .social a i,
.phase1-storefront footer.cub-footer--compact .footer-two__copyright p,
.phase1-storefront footer.cub-footer--compact .footer__bottom-list a {
    color: #fff !important;
}
.phase1-storefront footer.cub-footer--compact a:hover,
.phase1-storefront footer.cub-footer--compact a:focus-visible {
    color: #fff !important;
}
@media (max-width: 1199.98px) {
    .phase1-storefront footer.cub-footer--compact .cub-footer-three-cols {
        row-gap: 4px;
    }
}
@media (max-width: 575.98px) {
    .phase1-storefront footer.cub-footer--compact .cub-footer-links-grid {
        gap: 8px;
    }
}

/* Testimonials: the updated Swiper shows 3 / 2 / 1 slides responsively.
   Keep cards equal height and protect arrow clearance. */
.phase1-home .pdf4-testimonials .cub-testi-swiper,
.pdf4-testimonials .cub-testi-swiper {
    padding: 8px 44px 48px !important;
}
.pdf4-testimonials .cub-testi-swiper .swiper-wrapper {
    align-items: stretch;
}
.phase1-home .pdf4-testimonials .cub-testi-swiper .swiper-slide,
.pdf4-testimonials .cub-testi-swiper .swiper-slide {
    min-width: 0;
    height: auto;
    align-items: stretch;
}
.phase1-home .pdf4-testimonials .cub-testi-swiper .pdf4-testimonial-card,
.pdf4-testimonials .cub-testi-swiper .pdf4-testimonial-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none !important;
    height: 100%;
    margin: 0;
}
.pdf4-testimonials .cub-testi-swiper .pdf4-testimonial-quote {
    flex: 1 1 auto;
}
.pdf4-testimonials .cub-testi-swiper .pdf4-testimonial-author {
    margin-top: auto;
}
.pdf4-testimonials .cub-testi-prev { left: 1px; }
.pdf4-testimonials .cub-testi-next { right: 1px; }
@media (max-width: 767.98px) {
    .phase1-home .pdf4-testimonials .cub-testi-swiper,
    .pdf4-testimonials .cub-testi-swiper {
        padding: 8px 9px 45px !important;
    }
}
