/* ============================================
   Widget Testimonial Map - Estilos Scoped
   Todos los estilos están scoped bajo .testimonialmap-widget
   ============================================ */

.testimonialmap-widget {
  background-color: #fafafa;
  /* ============================================
     Estilos base de tipografía
     ============================================ */
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--primary_font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  a {
    text-decoration: none;
    color: #1b1b1c;
  }
  
  a:hover,
  a:focus,
  a:active {
    text-decoration: none;
    outline: none;
    color: var(--primary_color);
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  /* Section wrapper - padding consistente (contenido central) */
  > section:first-of-type {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    > section:first-of-type {
      padding-top: 80px !important;
      padding-bottom: 80px !important;
    }
  }
  @media only screen and (max-width: 767px) {
    > section:first-of-type {
      padding-top: 60px !important;
      padding-bottom: 60px !important;
    }
  }
  
  /* ============================================
     Estilos de Sección
     ============================================ */
  
  .tmp-section-gapTop {
    padding-top: 120px !important;
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .tmp-section-gapTop {
      padding-top: 80px !important;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-section-gapTop {
      padding-top: 60px !important;
    }
  }
  
  .mb--80 {
    margin-bottom: 80px !important;
  }
  
  .position-relative {
    position: relative;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  /* ============================================
     Estilos de Título de Sección (section-title)
     ============================================ */
  
  .section-title {
    position: relative;
  }
  
  .section-title .subtitle {
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 7px 12px;
    border-radius: 4px;
    display: inline-block;
    background: rgba(82, 55, 249, 0.1);
    color: var(--primary_color);
    text-transform: uppercase;
    font-family: var(--primary_font);
  }
  
  .section-title .title {
    margin-bottom: 0;
    color: #1b1b1c;
    font-family: var(--primary_font);
    word-break: break-word;
    line-height: 1.4074;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
  }
  
  .section-title .title.tmp-title-split {
    opacity: 0;
  }
  
  @media only screen and (max-width: 991px) {
    .section-title .title {
      font-size: 36px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .section-title .title {
      font-size: 28px;
    }
  }
  
  .section-title.text-center {
    text-align: center;
  }
  
  .w-600 {
    font-weight: 600 !important;
  }
  
  .mb--20 {
    margin-bottom: 20px !important;
  }
  
  /* ============================================
     Estilos de Título de Sección (tmp-section-title-border)
     ============================================ */
  
  .tmp-section-title-border {
    position: relative;
  }
  
  .tmp-section-title-border.text-center {
    text-align: center;
  }
  
  .tmp-section-title-border .b2 {
    font-size: 16px;
    line-height: 1.7;
    color: #363636;
    margin: 0;
    font-family: var(--primary_font);
  }
  
  .tmp-col-gap-20 {
    gap: 20px;
  }
  
  .map-wrapper-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  @media only screen and (max-width: 767px) {
    .map-wrapper-subtitle {
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  .tmp-separator-vertical {
    display: inline-block;
    min-height: 15px;
    height: 100%;
    width: 1px;
    background: #e1e4e8;
  }
  
  .tmp-bg-primary-500 {
    background-color: var(--primary_color);
  }
  
  /* ============================================
     Estilos de Counter
     ============================================ */
  
  .tmp-counter {
    display: inline-block;
  }
  
  .tmp-counter-gradient {
    background: linear-gradient(218.15deg, var(--secondary_color) 0%, var(--primary_color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--primary_color);
    background-clip: text;
  }
  
  .tmp-gradient-text-4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .tmp-fw-semibold {
    font-weight: 600;
  }
  
  .tmp-fw-medium {
    font-weight: 500;
  }
  
  .tmp-text-heading {
    color: #1b1b1c;
  }
  
  .mr--5 {
    margin-right: 5px !important;
  }
  
  .tmp-counter-suffix {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .tmp-w-fit {
    width: fit-content;
  }
  
  /* ============================================
     Estilos de Testimonial Map Wrapper
     ============================================ */
  
  .tmp-testimonial-map-wrapper {
    position: relative;
    padding: 0 80px;
    z-index: 2;
  }
  
  @media only screen and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 991px) {
    .tmp-testimonial-map-wrapper {
      padding: 0;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-inner {
    position: relative;
  }
  
  .z-2 {
    z-index: 2 !important;
  }
  
  .tmp-testimonial-map-wrapper .tmp-testimonial-map-img img {
    width: 100%;
    filter: brightness(0) saturate(100%) invert(21%) sepia(50%) saturate(7082%) hue-rotate(247deg) brightness(97%) contrast(102%);
  }
  
  /* ============================================
     Estilos de Lookbook Portion
     ============================================ */
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 2px solid #e1e4e8;
    box-shadow: 0px 0px 28.7px 0px rgba(0, 25, 255, 0.27);
    cursor: pointer;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion {
      width: 35px;
      height: 35px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-xm {
    height: 35px;
    width: 35px;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-sm {
    height: 40px;
    width: 40px;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-sm {
      width: 35px;
      height: 35px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-md {
    height: 45px;
    width: 45px;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-md {
      width: 35px;
      height: 35px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-lg {
    height: 60px;
    width: 60px;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-lg {
      width: 35px;
      height: 35px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-xl {
    height: 70px;
    width: 70px;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion.portion-xl {
      width: 35px;
      height: 35px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-thumb,
  .tmp-testimonial-map-wrapper .tmp-lookbook-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* ============================================
     Estilos de Lookbook Content Box
     ============================================ */
  
  .tmp-lookbook-content-box-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box-wrapper {
      height: auto;
      width: auto;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box-wrapper .tmp-lookbook-close-btn {
      display: block;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: visible;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box {
    border-radius: 6px;
    padding: 2px;
    background: var(--primary_color);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-bottom {
    top: 105%;
    left: 50%;
    transform: translateX(-90%) translateY(0) translateZ(0);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-bottom {
    transform: translateX(-90%) translateY(15px);
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-bottom {
      transform: unset;
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      bottom: unset;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-top {
    bottom: 105%;
    left: 50%;
    transform: translateX(-88%) translateY(-15px) translateZ(0);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-top {
    transform: translateX(-88%) translateY(-22px);
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-top {
      bottom: 25px;
      transform: unset;
    }
    
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-top {
      transform: unset;
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      bottom: unset;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-left {
    top: 50%;
    right: 105%;
    transform: translateX(10px) translateY(-50%) translateZ(0);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-left {
    transform: translateX(0) translateY(-50%);
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-left {
      transform: unset;
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      bottom: unset;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-right {
    top: 50%;
    left: 55%;
    transform: translateX(20px) translateY(-50%) translateZ(0);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-right {
    transform: translateX(40px) translateY(-50%);
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-portion:hover .tmp-lookbook-content-box.placed-right {
      transform: unset;
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      bottom: unset;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner {
    padding: 20px;
    max-width: 312px;
    width: 312px;
    background: #ffffff;
    border-radius: var(--general_border_radius);
    position: relative;
    z-index: 2;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner {
      padding: 15px;
      width: 300px;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner p {
    color: #1b1b1c;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-family: var(--primary_font);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner .b2 {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner .b4 {
    font-size: 14px;
    line-height: 1.5;
    color: #363636;
    font-family: var(--primary_font);
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner .mb--20 {
    margin-bottom: 20px !important;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-inner .mb--10 {
    margin-bottom: 10px !important;
  }
  
  /* ============================================
     Estilos de Message Shape
     ============================================ */
  
  .tmp-message-shape {
    position: absolute;
    background: var(--primary_color);
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
  }
  
  .tmp-message-shape::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #ffffff;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-bottom .tmp-message-shape {
    top: -5px;
    left: 80%;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-top .tmp-message-shape {
    top: 91%;
    left: 80%;
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-message-shape {
      left: 55%;
    }
    
    .tmp-testimonial-map-wrapper .tmp-lookbook-content-box .tmp-message-shape {
      display: none;
    }
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-left .tmp-message-shape {
    top: 45%;
    left: 94%;
  }
  
  .tmp-testimonial-map-wrapper .tmp-lookbook-content-box.placed-right .tmp-message-shape {
    top: 45%;
    left: -5px;
  }
  
  /* ============================================
     Estilos de Close Button
     ============================================ */
  
  .tmp-lookbook-close-btn {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    font-size: 16px;
    line-height: 30px;
    border: 0;
    color: #1b1b1c;
    border-radius: 6px;
    display: none;
    z-index: 3;
    cursor: pointer;
    text-align: center;
  }
  
  .tmp-lookbook-close-btn i {
    font-size: 16px;
  }
  
  /* ============================================
     Estilos de Separator
     ============================================ */
  
  .tmp-separator {
    display: block;
    height: 1px;
    width: 100%;
    background: #e1e4e8;
  }
  
  .tmp-bg-primary-opacity-400 {
    background-color: rgba(82, 55, 249, 0.4);
  }
  
  /* ============================================
     Estilos de Testimonial Bottom Area
     ============================================ */
  
  .tmp-testimonial-bottom-area {
    padding-bottom: 60px;
    text-align: center;
    margin-top: -6px;
    position: relative;
  }
  
  @media only screen and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 991px) {
    .tmp-testimonial-bottom-area {
      padding-bottom: 30px;
      margin-top: 20px;
    }
  }
  
  .tmp-testimonial-bottom-area .tmp-counter {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1b1b1c;
    font-family: var(--primary_font);
  }
  
  .tmp-testimonial-bottom-area .tmp-counter .counter-suffix {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
  }
  
  .tmp-testimonial-bottom-area p {
    font-size: 16px;
    line-height: 1.7;
    color: #363636;
    margin: 0;
    font-family: var(--primary_font);
  }
  
  .tmp-testimonial-bottom-area .b3 {
    font-size: 18px;
    line-height: 1.7;
  }
  
  .tmp-testimonial-bottom-area .mb--5 {
    margin-bottom: 5px !important;
  }
  
  .tmp-testimonial-bottom-area .mt--5 {
    margin-top: 5px !important;
  }
  
  .tmp-testimonial-bottom-area .mb--0 {
    margin-bottom: 0 !important;
  }
  
  /* ============================================
     Estilos de Round Blur Shape
     ============================================ */
  
  .tmp-round-blur-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
  }
  
  .tmp-round-blur-top-left {
    top: 0;
    left: 0;
    background: var(--primary_color);
  }
  
  .blur-shape-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary_color);
  }
}

