/*
Theme Name: saaaland Child
Theme URI: http://example.com/saasland-child/
Description: Tema hijo para el tema saaaland 
Author: SailorPro
Author URI: http://sailorpro.com
Template: saasland
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saasland-child
*/

/* Estilos para ícono de X (antes Twitter) */
.social-icon.x-twitter { 
  color: #000000; 
}

.social-icon.x-twitter:hover { 
  opacity: 0.8;
}

/* Estilos para botones de agendamiento */
.schedule-button-map {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.schedule-button-map svg,
.schedule-button svg {
  margin-right: 5px;
}

.schedule-button-map:hover {
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
}

/* Ajustes para botones en popups y listados de oficinas */
.popup-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.office-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive para los botones de acción */
@media (max-width: 768px) {
  .popup-buttons,
  .office-actions {
    flex-direction: column;
    gap: 5px;
  }
  
  .schedule-button-map,
  .share-button {
    width: 100%;
  }
}

/* Estilos para el banner profesional*/
.professional-banner {
padding: 160px 0; 
position: relative;
width: 100%;
margin-bottom: 40px;
}

.professional-banner::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.2); 
z-index: 1;
}

@media (max-width: 768px) {
.professional-banner {
    padding: 100px 0;
}
}

.mapboxgl-popup {
max-width: 250px;
}

.mapboxgl-popup-content {
text-align: left;
font-family: 'Open Sans', sans-serif;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mapboxgl-popup-close-button {
font-size: 18px;
color: #333;
right: 8px;
top: 8px;
}

.mapboxgl-popup-content h3 {
margin: 0 0 10px;
color: #333;
font-size: 16px;
font-weight: 600;
border-bottom: 1px solid var(--primary-color);
padding-bottom: 5px;
}

.mapboxgl-popup-content img {
max-width: 100%;
height: auto;
margin-bottom: 10px;
border-radius: 4px;
}

.mapboxgl-popup-content p {
margin: 5px 0;
font-size: 12px;
color: #666;
}

.share-button {
background-color: var(--primary-color);
border: none;
color: white;
padding: 8px 12px;
text-align: center;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
margin: 8px 0 0;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}

.share-button svg {
margin-right: 4px;
width: 14px;
height: 14px;
}

.share-button:hover {
background-color: var(--secondary-color);
}

.offices-list {
list-style-type: none;
padding: 0;
margin-top: 20px;
}

.offices-list li {
background-color: #f9f9f9;
margin-bottom: 10px;
padding: 15px;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s;
}

.offices-list li:hover {
background-color: #e9e9e9;
cursor: pointer;
}

.office-info {
flex-grow: 1;
}

.office-name {
font-weight: bold;
color: #333;
margin-bottom: 5px;
}

.office-address {
font-size: 14px;
color: #666;
margin-bottom: 5px;
}

.office-phones {
font-size: 14px;
color: #666;
}

.office-actions {
display: flex;
flex-direction: column;
}

.professional-profile {
max-width: 1200px;
margin: 0 auto 60px;
font-family: 'Arial', sans-serif;
color: #333;
}

.profile-content {
display: flex;
justify-content: space-between;
align-items: stretch;
}

.profile-image {
flex: 0 0 45%;
margin-right: 40px;
overflow: hidden;
}

.profile-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.profile-image img:hover {
transform: scale(1.05);
}

.profile-info {
flex: 1;
display: flex;
flex-direction: column;
}

.profile-name {
font-size: 2.5em;
color: #2c3e50;
margin-bottom: 10px;
}

.profile-category {
font-size: 1.2em;
color: var(--body-color);
font-weight: 500;
margin-bottom: 20px;
font-weight: bold;
}

.profile-rating {
font-size: 1.2em;
margin-bottom: 20px;
text-align: left;
display: flex;
}

.profile-rating .ratting {
display: flex;
flex-direction: row;
gap: 15px;
align-items: center;
}

.profile-rating .ratting .star-rating {
margin: 0px !important
}

.info-item {
display: flex;
align-items: center;
margin-bottom: 20px;
font-size: 1em;
}

.info-icon {
font-size: 1.2em;
width: 30px;
color: var(--primary-color);
margin-right: 10px;
}

.social-icons {
display: flex;
gap: 15px;
}

.social-icon {
font-size: 2.5em;
transition: opacity 0.3s ease;
}

.social-icon:hover {
opacity: 0.8;
}

.social-icon.facebook { 
color: #1877F2; 
}

.social-icon.instagram { 
color: #E4405F; 
}

.schedule-button {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 30px;
font-size: 1.1em;
font-weight: bold;
text-align: center;
transition: background-color 0.3s ease, transform 0.3s ease;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.schedule-button:hover {
background-color: #1d14ba;
color: white;
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.share-profile {
margin-top: 20px;
}

.share-profile h3 {
font-size: 1.1em;
color: #2c3e50;
margin-bottom: 10px;
}

.share-buttons-container {
display: flex;
gap: 10px;
}

.share-permalink-button {
background-color: var(--body-color);
color: #FFFFFF;
border: none;
padding: 8px 12px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}

.share-permalink-button:hover {
background-color: #e2e8f0;
}

.share-permalink-button:hover svg path {
fill: var(--primary-color);
}

.share-permalink-button:hover i.fab.fa-x-twitter {
color: var(--primary-color) !important;
}

/* Clase adicional para el botón de X */
.share-permalink-button.share-x-button {
display: flex;
align-items: center;
justify-content: center;
}

.share-permalink-button.share-x-button i {
transition: color 0.3s ease;
}

.share-permalink-button svg path {
fill: white;
}

@media (max-width: 768px) {
.profile-content {
  flex-direction: column;
}
.profile-image {
  margin-right: 0;
  margin-bottom: 30px;
  flex: 0 0 100%;
}
}

.product-location-title {
font-size: 20px;
font-weight: 500;
color: #333;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #eee;
}
#product-locations-map {
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pr_details_area {
padding-top: 60px;
padding-bottom: 60px;
}

.product_info_details {
border: none !important;
}


.woocommerce ul.products {
margin: 0 !important;
padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
display: none;
}

.woocommerce ul.products li.product {
float: none !important;
margin: 0 !important;
padding: 0 !important;
width: auto !important;
clear: none !important;
}


.professionals-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
padding: 30px 0;
}


.professional-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

.professional-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.professional-image {
position: relative;
padding-top: 100%;
overflow: hidden;
}

.professional-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.professional-card:hover .professional-image img {
transform: scale(1.1);
}

.professional-info {
padding: 20px;
text-align: center;
}

.professional-name {
font-size: 1.2em;
font-weight: 600;
color: #333;
margin-bottom: 5px;
}

.professional-category {
color: #666;
font-size: 0.9em;
margin-bottom: 15px;
}

.professional-rating {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 15px;
}

.professional-rating .star-rating {
float: none;
margin: 0 !important;
}

.professional-rating .star-rating::before {
color: #ddd;
}

.professional-rating .star-rating span::before {
color: #FFD700;
}

.professional-rating .rating-count {
font-size: 0.9em;
color: #666;
margin-left: 5px;
}

.professional-rating .woocommerce-product-rating .woocommerce-review-link {
display: none;
}

.view-profile-btn {
display: inline-block;
padding: 10px 20px;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: 600;
transition: all 0.3s ease;
}

.view-profile-btn:hover {
background-color: var(--secondary-color);
transform: translateY(-2px);
}

@media (max-width: 991px) {
.professionals-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 575px) {
.professionals-grid {
  grid-template-columns: 1fr;
}
}

.woocommerce-filter-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
border-bottom: 1px solid #eee;
}

.woocommerce-filter-result {
font-size: 14px;
color: #666;
}

.woocommerce-filter-actions {
display: flex;
align-items: center;
}

.woocommerce-ordering {
position: relative;
margin-bottom: 0px !important;
}

.woocommerce-ordering select.orderby {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
z-index: 2;
}

.custom-select-wrapper {
position: relative;
display: inline-block;
}

.custom-select-trigger {
position: relative;
display: block;
padding: 10px 30px 10px 10px;
font-size: 14px;
color: #666;
background-color: transparent;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
}

.custom-select-trigger::after {
content: '\25BC';
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
font-size: 12px;
color: #666;
transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger::after {
transform: translateY(-50%) rotate(180deg);
}

.custom-select-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 4px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: none;
z-index: 1000;
max-height: 200px;
overflow-y: auto;
}

.custom-select-menu.active {
display: block;
}

.custom-select-menu .option {
padding: 10px 15px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.custom-select-menu .option:hover {
background-color: #f8f8f8;
}

.custom-select-menu .option.selected {
background-color: #f0f0f0;
font-weight: bold;
}

.search-modal-trigger {
display: flex;
align-items: center;
background: none;
border: none;
padding: 5px;
margin-right: 10px;
cursor: pointer;
color: #333;
transition: all 0.3s ease;
overflow: hidden;
white-space: nowrap;
}

.search-modal-trigger svg {
min-width: 20px;
}

.search-modal-trigger .search-text {
max-width: 0;
opacity: 0;
transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.search-modal-trigger:hover .search-text {
max-width: 100px;
opacity: 1;
margin-left: 5px;
}

.search-modal {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.98);
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.show {
opacity: 1;
visibility: visible;
}

.search-modal-content {
width: 90%;
max-width: 600px;
position: relative;
}

.close-search-modal {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
cursor: pointer;
color: #333;
transition: color 0.3s ease;
}

.close-search-modal:hover {
color: #666;
}

.woocommerce-searching {
display: flex;
border-bottom: 2px solid #333;
}

.woocommerce-searching .search-field {
flex-grow: 1;
border: none;
background: transparent;
font-size: 24px;
padding: 10px 0;
color: #333;
}

.woocommerce-searching .search-field:focus {
outline: none;
}

.woocommerce-searching .search-submit {
background: none;
border: none;
padding: 10px;
cursor: pointer;
color: #333;
transition: color 0.3s ease;
}

.woocommerce-searching .search-submit:hover {
color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
.woocommerce-filter-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.woocommerce-filter-actions {
  width: 100%;
}

.woocommerce-ordering {
  flex-grow: 1;
}

.search-modal-trigger {
  margin-right: 15px;
}
}

.fp-widget__list {
display: flex;
flex-direction: column;
gap: 15px;
}

.fp-widget__card {
display: flex;
align-items: center;
background-color: #f9f9f9;
border-radius: 8px;
padding: 10px;
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.fp-widget__card:hover {
background-color: #f0f0f0;
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.fp-widget__image {
width: 50px;
height: 50px;
margin-right: 15px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 8px;
}

.fp-widget__image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.fp-widget__info {
flex-grow: 1;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
}

.fp-widget__name {
font-size: 16px;
font-weight: bold;
margin: 0 0 3px 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color 0.3s ease;
}

.fp-widget__card:hover .fp-widget__name {
color: #007bff;
}

.fp-widget__category {
font-size: 14px;
color: #666;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.fp-widget__no-results {
font-size: 14px;
color: #666;
text-align: center;
padding: 10px;
background-color: #f9f9f9;
border-radius: 8px;
}

@media (max-width: 768px) {
.fp-widget__card {
  flex-direction: row;
}

.fp-widget__image {
  margin-right: 10px;
}

.fp-widget__name,
.fp-widget__category {
  white-space: normal;
}
}

@keyframes fpFadeInUp {
from {
  opacity: 0;
  transform: translateY(20px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

.fp-widget__card {
animation: fpFadeInUp 0.5s ease-out forwards;
opacity: 0;
}

.fp-widget__card:nth-child(1) { animation-delay: 0.1s; }
.fp-widget__card:nth-child(2) { animation-delay: 0.2s; }
.fp-widget__card:nth-child(3) { animation-delay: 0.3s; }
.fp-widget__card:nth-child(4) { animation-delay: 0.4s; }
.fp-widget__card:nth-child(5) { animation-delay: 0.5s; }

/* Estilos para la sección de servicios */
.product-services {
margin-top: 30px;
font-family: 'Open Sans', sans-serif;
}

.services-title {
font-size: 24px;
font-weight: 600;
margin-bottom: 20px;
color: #333;
padding-bottom: 10px;
border-bottom: 2px solid #eee;
}

.services-filter {
display: flex;
gap: 20px;
margin-bottom: 25px;
flex-wrap: wrap;
}

.services-search {
flex-grow: 1;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px;
min-width: 250px;
}

.services-location-filter {
display: flex;
flex-direction: column;
min-width: 200px;
}

.services-location-filter label {
margin-bottom: 5px;
font-size: 14px;
color: #666;
}

.services-location {
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px;
}

.services-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}

.service-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}

.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card-content {
padding: 20px;
flex-grow: 1;
}

.service-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 10px;
}

.service-name {
font-size: 18px;
font-weight: 600;
color: #333;
margin: 0;
flex-grow: 1;
padding-right: 10px;
}

.service-price {
font-size: 16px;
font-weight: 700;
color: var(--primary-color);
white-space: nowrap;
}

.service-location {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 14px;
color: #666;
}

.location-icon {
color: var(--primary-color);
margin-right: 6px;
}

.service-description {
color: #555;
font-size: 14px;
line-height: 1.5;
}

.service-footer {
padding: 15px 20px;
background-color: #f9f9f9;
border-top: 1px solid #eee;
display: flex;
justify-content: flex-end;
}

.schedule-service-button {
display: inline-flex;
align-items: center;
background-color: var(--primary-color);
color: white;
padding: 8px 15px;
border-radius: 4px;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: background-color 0.3s ease;
}

.schedule-service-button i {
margin-right: 6px;
}

.schedule-service-button:hover {
background-color: var(--secondary-color);
color: white;
text-decoration: none;
}

.no-services-message,
.no-services-found {
text-align: center;
padding: 30px;
color: #666;
background-color: #f9f9f9;
border-radius: 8px;
border: 1px dashed #ddd;
}

@media (max-width: 768px) {
.services-filter {
  flex-direction: column;
  gap: 15px;
}

.services-list {
  grid-template-columns: 1fr;
}
}

/* Tablet */
@media (max-width: 769px) {
	
}

/* Mobile Large */
@media (max-width: 426px) {
	
	.alter_nav.search_exist.drdt-ignore-dark {
		top: 25px !important;
	}
	
	.navbar-brand > img {
		height: 70px !important;
		width: 70px !important;
	}
	
	/* data id 46c3c4e0 */

	[data-id="46c3c4e0"] .analytices_img_one {
		left: 0px !important;
		top: -130px !important;
        width: 60px;
	}

	[data-id="46c3c4e0"] .analytices_img_two {
		left: 0px !important;
		top: -85px !important;
	}
	
	/* data id e7f06e6 */
	
	[data-id="e7f06e6"] .analytices_img_one {
		left: 0px !important;
		top: -130px !important;
        width: 60px !important;
	}

	[data-id="e7f06e6"] .analytices_img_two {
		left: 0px !important;
		top: -85px !important;
	}
	
	[data-id="e7f06e6"] .h_analytices_content {
		margin-top: 173px !important;
	}
	
	/* data id 5ca74cf1 */
	
	[data-id="5ca74cf1"] .h_analytices_img {
		left: 80px !important;
		top: -84px !important;
		transform: scale(0.8) !important;
	}
	
	[data-id="5ca74cf1"] .analytices_img_two {
		top: -250px !important;
		left: -160px !important;
	}
	
	/* data id b5613cb */
	
	[data-id="b5613cb"] .analytices_img_one {
		right: -28px !important;
		top: -155px !important;
		left: unset !important;
	}
	
	[data-id="b5613cb"] .analytices_img_two {
		top: -45px !important;
		left: 0px !important;
	}
	
	[data-id="b5613cb"] .analytices_img_three {
		top: -92px !important;
		left: 10px !important;
	}
	
	[data-id="b5613cb"] .analytices_img_ {
		top: -60px !important;
		left: 0px !important;
	}
}

/* Mobile Small (opcional) */
@media (max-width: 376px) {
	[data-id="46c3c4e0"] .h_analytices_content {
		margin-top: 0px !important;
	}
	
	[data-id="e7f06e6"] .h_analytices_content {
		margin-top: 120px !important;
	}
	
	[data-id="5ca74cf1"] .analytices_img_one {
		top: 146px !important;
		left: -121px !important;
	}
	
	[data-id="5ca74cf1"] .h_analytices_content {
		margin-top: -40px !important;
	}
	
	[data-id="b5613cb"] .analytices_img_one {
		top: -100px !important;
	}
	
	
	
}