/* Tyrefix Farming static-site overrides */
/* consent banner */
#tfc-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999999; background: #fff;
  border-top: 1px solid #ddd; box-shadow: 0 -2px 12px rgba(0,0,0,.12); font: 13px/1.5 Poppins, Arial, sans-serif;
  color: #333; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; }
#tfc-cookie p { margin: 0; max-width: 720px; }
#tfc-cookie a { color: #e30613; }
#tfc-cookie button { border: 0; border-radius: 3px; padding: 8px 18px; cursor: pointer; font: 600 13px/1 Poppins, Arial, sans-serif; }
#tfc-cookie .tfc-ok { background: #4e8221; color: #fff; }
#tfc-cookie .tfc-no { background: #e0e0e0; color: #333; }
/* cookie-choice withdrawal button (cookie policy page) */
.tfc-consent-reset {
    border: 1px solid #c00; border-radius: 3px; background: #fff; color: #c00;
    font: 600 14px/1 Poppins, Arial, sans-serif; padding: 9px 20px; cursor: pointer;
}

/* ---- dead WP search UI ---- */
.search-toggle, .searchform-popup, .searchform { display: none !important; }

/* ---- logo strip: seamless infinite marquee (main-site proven rules) ---- */
.elementor-widget-image-carousel .elementor-image-carousel-wrapper {
    overflow: hidden;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 70px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 70px), transparent);
}
.elementor-widget-image-carousel .elementor-image-carousel-wrapper::-webkit-scrollbar { display: none; }
.elementor-widget-image-carousel .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    will-change: transform;
    animation: tfc-marquee 40s linear infinite;
}
.elementor-widget-image-carousel .elementor-image-carousel-wrapper:hover .swiper-wrapper { animation-play-state: paused; }
.elementor-widget-image-carousel .swiper-slide {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 10px 14px !important;
    box-sizing: border-box;
}
.elementor-widget-image-carousel .swiper-slide img {
    display: block;
    width: auto !important;
    max-height: 96px !important;
    object-fit: contain;
}
@keyframes tfc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .elementor-widget-image-carousel .swiper-wrapper { animation: none !important; } }

/* ---- footer logo: elementor-invisible animation never runs (no elementor JS) ---- */
.elementor-element.elementor-element-9024bf7 { visibility: visible !important; }
.elementor-invisible { visibility: visible !important; }

/* ---- depot map (Leaflet + OSM) ---- */
#tyrefix-depot-map { height: 520px; margin: 18px 0; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.leaflet-popup-content { font-size: 13px; line-height: 1.45; }
.leaflet-popup-content b { display: block; margin-bottom: 3px; }
