﻿/* TSR site-specific overrides and JSX-extracted styles not in tsr-pages-inline.css */
/* Embedded <style> blocks were removed from page components; rules live in tsr-pages-inline.css. */

/* Enquiry form: stay visible when Elementor animation classes are not cleared by WP scripts */
.tsr-enquiry-form.elementor-invisible,
.tsr-enquiry-form .elementor-invisible,
.elementor-widget-metform.tsr-enquiry-form,
.elementor-widget-metform.tsr-enquiry-form .mf-form-wrapper,
.elementor-widget-metform.tsr-enquiry-form .metform-form-content {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ENQUIRY heading: fadeInUp via EnquiryHeading (Elementor scroll animation) */
.tsr-enquiry-heading.elementor-invisible {
  visibility: hidden;
}

.tsr-enquiry-heading.animated {
  visibility: visible;
  animation-duration: 1s;
  animation-fill-mode: both;
}

/* Enquiry form submit success/error messages */
.tsr-enquiry-feedback {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.tsr-enquiry-feedback--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.tsr-enquiry-feedback--error {
  background: #ffebee;
  color: #c62828;
}

/* Header + mobile menu: stay above page content (e.g. home hero negative margin) */
.ekit-template-content-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  isolation: isolate;
}

/* Above backdrop (10001) so mobile menu links receive clicks */
.ekit-template-content-header.tsr-header-menu-open {
  z-index: 10002;
}

.elementor-271 .elementor-element.elementor-element-5673d93 {
  position: relative;
  z-index: 10000;
}

.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-nav-menu-container,
.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-toggle-wrap,
.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-toggle {
  pointer-events: auto !important;
}

.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-toggle-wrap {
  position: relative;
  z-index: 10003;
}

.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-toggle {
  position: relative;
  z-index: 10003;
  cursor: pointer;
  background: transparent;
  padding: 0;
  border: none;
}

.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-mega-menu-wrap {
  position: absolute;
  z-index: 10002;
}

.elementor-271 .elementor-element.elementor-element-a262c40.wpr-mobile-menu-display-dropdown .wpr-mobile-mega-menu-wrap:not(.tsr-mobile-menu-open) {
  display: none !important;
}

.elementor-271 .elementor-element.elementor-element-a262c40.wpr-mobile-menu-display-dropdown .wpr-mobile-mega-menu-wrap.tsr-mobile-menu-open {
  display: block !important;
}

.elementor-271 .elementor-element.elementor-element-a262c40 .wpr-mobile-toggle.tsr-mobile-toggle-active .wpr-mobile-toggle-line {
  background-color: var(--e-global-color-00790ed);
}

.tsr-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
}

/* Background videos should not steal header clicks */
.elementor-background-video-container {
  pointer-events: none;
}

/* Shared star rating */
.tsr-star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.tsr-star-rating__star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 14px;
}

.tsr-star-rating--sm .tsr-star-rating__star {
  font-size: 12px;
}

.tsr-star-rating--lg .tsr-star-rating__star {
  font-size: 18px;
}

.tsr-star-rating__star-bg,
.tsr-star-rating__star-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tsr-star-rating__star-bg {
  color: #e0e0e0;
}

.tsr-star-rating__star-fill {
  color: #fbbc04;
  white-space: nowrap;
}

/* Google reviews badge widget (Elfsight-style) */
.tsr-greviews-widget-float {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100050;
  pointer-events: auto;
}

.tsr-greviews-widget {
  position: relative;
  width: min(340px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  color: #202124;
}

.tsr-greviews-widget__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #9aa0a6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tsr-greviews-widget__close:hover {
  color: #5f6368;
}

.tsr-greviews-widget__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-right: 20px;
  margin-bottom: 14px;
}

.tsr-greviews-widget__logo {
  flex-shrink: 0;
}

.tsr-greviews-widget__head-text {
  min-width: 0;
}

.tsr-greviews-widget__title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  line-height: 1.3;
}

.tsr-greviews-widget__summary {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  color: #5f6368;
  font-size: 12px;
  line-height: 1.4;
}

.tsr-greviews-widget__summary-star {
  color: #fbbc05;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

.tsr-greviews-widget__cta {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.tsr-greviews-widget__cta:hover {
  background: #1765cc;
  color: #fff;
  text-decoration: none;
}

.tsr-greviews-widget__divider {
  height: 1px;
  background: #e8eaed;
  margin: 14px 0 12px;
}

.tsr-greviews-widget__reviewer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tsr-greviews-widget__avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.tsr-greviews-widget__avatar-wrap > .tsr-greviews-widget__avatar-img,
.tsr-greviews-widget__avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.tsr-greviews-widget__avatar-initials {
  background: #e8f0fe;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.tsr-greviews-widget__avatar-img {
  object-fit: cover;
}

.tsr-greviews-widget__avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e8eaed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tsr-greviews-widget__avatar-badge svg {
  width: 12px;
  height: 12px;
}

.tsr-greviews-widget__reviewer-meta {
  min-width: 0;
}

.tsr-greviews-widget__author-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tsr-greviews-widget__author {
  font-weight: 700;
  font-size: 14px;
  color: #202124;
}

.tsr-greviews-widget__verified {
  flex-shrink: 0;
}

.tsr-greviews-widget__time {
  display: block;
  color: #9aa0a6;
  font-size: 12px;
  margin-top: 1px;
}

.tsr-greviews-widget__stars {
  margin-bottom: 6px;
}

.tsr-greviews-widget__text {
  margin: 0;
  color: #3c4043;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tsr-greviews-widget__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.tsr-greviews-widget__nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dadce0;
  background: #fff;
  color: #5f6368;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tsr-greviews-widget__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tsr-greviews-widget__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #dadce0;
  cursor: pointer;
}

.tsr-greviews-widget__dot--active {
  background: #1a73e8;
}

@media (max-width: 767px) {
  .tsr-greviews-widget-float {
    left: 10px;
    bottom: 10px;
  }
}

/* Home page: What Our Customers Say carousel */
.tsr-google-reviews-carousel {
  width: 100%;
  padding: 24px 0 32px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.tsr-google-reviews-carousel__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #202124;
}

.tsr-google-reviews-carousel__frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 8px;
}

.tsr-google-reviews-carousel__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.tsr-google-reviews-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}

.tsr-google-reviews-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.tsr-google-reviews-carousel__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 36px 24px;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  background: #f8f9fa;
  box-sizing: border-box;
}

.tsr-google-reviews-carousel__card--loading {
  min-height: 220px;
  background: linear-gradient(90deg, #f1f3f4 25%, #e8eaed 50%, #f1f3f4 75%);
  background-size: 200% 100%;
  animation: tsr-google-reviews-shimmer 1.4s infinite;
}

@keyframes tsr-google-reviews-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.tsr-google-reviews-carousel__stars {
  margin-bottom: 14px;
}

.tsr-google-reviews-carousel__text {
  margin: 0 0 18px;
  max-width: 640px;
  color: #3c4043;
  font-size: 15px;
  line-height: 1.55;
}

.tsr-google-reviews-carousel__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  background: #e8f0fe;
}

.tsr-google-reviews-carousel__avatar-img,
.tsr-google-reviews-carousel__avatar-initials {
  width: 100%;
  height: 100%;
  display: block;
}

.tsr-google-reviews-carousel__avatar-img {
  object-fit: cover;
}

.tsr-google-reviews-carousel__avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
  font-weight: 700;
  font-size: 15px;
}

.tsr-google-reviews-carousel__author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.tsr-google-reviews-carousel__author {
  font-weight: 700;
  font-size: 15px;
  color: #202124;
}

.tsr-google-reviews-carousel__verified {
  flex-shrink: 0;
}

.tsr-google-reviews-carousel__time {
  display: block;
  margin-bottom: 10px;
  color: #9aa0a6;
  font-size: 13px;
}

.tsr-google-wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1;
}

.tsr-google-wordmark__g { color: #4285f4; }
.tsr-google-wordmark__o1 { color: #ea4335; }
.tsr-google-wordmark__o2 { color: #fbbc05; }
.tsr-google-wordmark__g2 { color: #4285f4; }
.tsr-google-wordmark__l { color: #34a853; }
.tsr-google-wordmark__e { color: #ea4335; }

.tsr-google-reviews-carousel__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #202124;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tsr-google-reviews-carousel__arrow:hover {
  color: #5f6368;
}

.tsr-google-reviews-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.tsr-google-reviews-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #dadce0;
  cursor: pointer;
}

.tsr-google-reviews-carousel__dot--active {
  background: #202124;
}

@media (max-width: 767px) {
  .tsr-google-reviews-carousel__card {
    padding: 22px 18px 20px;
  }

  .tsr-google-reviews-carousel__arrow {
    width: 28px;
    font-size: 24px;
  }

  .tsr-google-reviews-carousel__text {
    font-size: 14px;
  }
}

/* WhatsApp chat widget + contact FABs — bottom-right */
.tsr-wa-chat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.tsr-wa-chat__panel {
  width: min(360px, calc(100vw - 32px));
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  animation: tsr-wa-chat-in 0.2s ease;
}

@keyframes tsr-wa-chat-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tsr-wa-chat__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #008069;
  color: #fff;
}

.tsr-wa-chat__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.tsr-wa-chat__subtitle {
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.92;
}

.tsr-wa-chat__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tsr-wa-chat__body {
  min-height: 220px;
  padding: 16px 14px 12px;
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c8c0b8' fill-opacity='0.35'%3E%3Cpath d='M20 18h8v8h-8zM54 34h6v6h-6zM82 72h10v10H82zM34 86h8v8h-8zM92 24h6v6h-6zM12 62h8v8h-8z'/%3E%3C/g%3E%3C/svg%3E");
}

.tsr-wa-chat__date {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  color: #667781;
  font-size: 12px;
}

.tsr-wa-chat__bubble {
  position: relative;
  max-width: 88%;
  margin-right: auto;
  padding: 8px 10px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tsr-wa-chat__bubble-author {
  margin-bottom: 2px;
  color: #667781;
  font-size: 12px;
  font-weight: 600;
}

.tsr-wa-chat__bubble-text {
  margin: 0;
  color: #111b21;
  font-size: 14px;
  line-height: 1.45;
}

.tsr-wa-chat__bubble-time {
  position: absolute;
  right: 8px;
  bottom: 4px;
  color: #667781;
  font-size: 11px;
}

.tsr-wa-chat__composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #f0f2f5;
}

.tsr-wa-chat__input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #111b21;
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 0 0 1px #e9edef;
}

.tsr-wa-chat__input::placeholder {
  color: #8696a0;
}

.tsr-wa-chat__send {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #008069;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tsr-wa-chat__send:hover {
  background: #006e59;
}

.tsr-wa-chat__fab {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.tsr-wa-chat__fab:hover {
  background: #20bd5a;
}

@media (max-width: 767px) {
  .tsr-wa-chat {
    right: 10px;
    bottom: 10px;
  }

  .tsr-wa-chat__panel {
    width: min(340px, calc(100vw - 20px));
  }

  .tsr-wa-chat__body {
    min-height: 190px;
  }

  .tsr-wa-chat__fab {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}
