/*
Theme Name: BGS Theme
Description: BGS Theme
Version: 2.0
Author: NGR Devs + Claudio
*/

@font-face {
  font-family: 'UniviaPro';
  src: url('assets/fonts/UniviaPro-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'UniviaProMedium';
  src: url('assets/fonts/UniviaPro-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'UniviaProBook';
  src: url('assets/fonts/UniviaPro-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'UniviaProLight';
  src: url('assets/fonts/UniviaPro-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'UniviaProUltra';
  src: url('assets/fonts/UniviaPro-Ultra.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'UniviaProBold';
  src: url('assets/fonts/UniviaPro-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UniviaProBlack';
  src: url('assets/fonts/UniviaPro-Black.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/*@font-face {
  font-family: 'UniviaProSemibold';
  src: url('assets/fonts/Univia) format('opentype');
  font-style: normal;
  font-display: swap;
}*/

@font-face {
  font-family: 'Pogonia';
  src: url('assets/fonts/pogonia-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'PogoniaMedium';
  src: url('assets/fonts/pogonia-medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: Controls font loading behavior */
}

@font-face {
  font-family: 'PogoniaBold';
  src: url('assets/fonts/pogonia-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PogoniaSemibold';
  src: url('assets/fonts/pogonia-semibold.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

/* Fuente global para todo el sitio */
body {
    font-family: 'Exo 2', sans-serif;
    background-color: #EFEFF1 !important;
}

/* Títulos con negrita */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

/* Opcional: párrafos más ligeros */
p {
    font-weight: 400;
}


.fw {
  max-width: 100% !important;
  --bs-gutter-x: 0 !important;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

.colProducts {
  border-left: 2px solid #021D49;
  padding-left: 30px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);  
  box-shadow: 0px 9px 4.7px 0px #0000003B;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

/* Logo/Brand */
.logo {
  flex-shrink: 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #6B46C1;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img {
  height: 35px;
  width: auto;
  vertical-align: middle;
}

/* Navigation Menu */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #021D49;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  font-family: 'UniviaProMedium', sans-serif;
}

.nav-menu a:hover {
  /*color: #6B46C1;*/
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #021D49;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

/* CTA Button */
.header-actions {
  flex-shrink: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  /*background: white;*/
  background: linear-gradient(180deg, #061D44 0%, #54111B 100%);
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid #021D49;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
  white-space: nowrap;
  font-family: 'UniviaProMedium', sans-serif;
}

.cta-button:hover {
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
  background: #f0f4ff;
  color: #1e3a8a;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button-prod {
  display: block;
  /*background: white;*/
  background: linear-gradient(180deg, #061D44 0%, #54111B 100%);
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid #021D49;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
  white-space: nowrap;
  font-family: 'UniviaProMedium', sans-serif;
  text-align: center;
}

.cta-button-prod:hover {  
  transform: scale(1.02);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #374151;
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== HERO SLIDER ===== */
.hero {
  height: 45vh;
  /*min-height: 550px;*/
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #D9D9D9;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: relative;
  box-shadow: 3px 3px 5px 0px #00000066;
}

.slider-dot.active {
  background: #D9D9D9;
  width: 32px;
  border-radius: 16px;
  box-shadow: 3px 3px 5px 0px #00000066;
}

.slider-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.slider-dot.transitioning {
  transition-duration: 0.3s;
}

.selectorCat {
  padding: 40px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  height: fit-content;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #F5333FFF;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
  left: 4%;
}

.slider-arrow-right {
  right: 4%;
}

/* ===== FEATURES MINI ===== */
.features-mini {
  scroll-margin-top: 4rem;
  padding: 4rem 0;
  /* background set via inline styles */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 3rem;
  margin-top: 5rem;
  align-items: flex-start;
  justify-content: center;
}

.feature-item {
  position: relative;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}


.feature-item:hover .feature-content {
  transform: scale(1.05) skewX(10deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item:hover .feature-icon {
  transform: translateX(-50%) scale(1.05);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: #F5333F;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(245, 51, 63, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feature-content {
  /* background set via inline styles with gradient */
  padding: 3.5rem 2rem 2rem;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  transform: skewX(10deg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 180px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(180deg, #FFFFFF 27.47%, #ACB5CC 116.59%);
  box-shadow: 0px 0px 4px 0px #00000040;
}


.feature-title {
  font-size: 1.3rem;
  font-weight: 550;
  margin: 0 0 1rem;
  color: #000000;
  line-height: 1.3;
  transform: skewX(-10deg);
  font-family: 'UniviaProMedium', sans-serif;
}

.feature-desc {
  color: #021D49;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
  transform: skewX(-10deg);
  font-family: 'UniviaProBook', sans-serif;
}

.woocommerce div.product {
  display: grid;
  gap: 2rem;
  grid-template-columns: 50% 50%;
}

/* Mobile responsive for services */
@media (max-width: 768px) {  
  .slide-bg {
    background-size: contain;
  }

  .colProducts {
    border-left-color: unset;
    padding-left: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 350px);
    gap: 2rem;
    justify-content: center;
  }
  
  .feature-content {
    transform: skewX(5deg);
    padding: 3rem 1.5rem 1.8rem;
    min-height: 150px;
    max-width: 350px;
    border-radius: 25px;
  }
  
  .feature-item:hover .feature-content {
    transform: scale(1.02) skewX(5deg);
  }
  
  .feature-item:hover .feature-icon {
    transform: translateX(-50%) scale(1.02);
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    top: -45px;
  }
  
  .feature-title {
    font-size: 1.2rem;
    transform: skewX(-5deg);
  }
  
  .feature-desc {
    transform: skewX(-5deg);
  }

  .woocommerce .products ul, .woocommerce ul.products {
    gap: 5px;
  }

  .woocommerce div.product {
    display: grid;
    grid-template-columns: auto;
  }
  
  .footer-section, .footer-brand {
    display: grid !important;
    justify-content: center !important;
  }

  .container {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 320px;
    gap: 3rem;
    justify-content: center;
  }
  
  .feature-content {
    transform: skewX(0deg);
    border-radius: 20px;
    padding: 2.5rem 1.5rem 1.5rem;
    min-height: 130px;
    max-width: 320px;
  }
  
  .feature-icon {
    width: 75px;
    height: 75px;
    font-size: 1.7rem;
    top: -42px;
  }
  
  .feature-item:hover .feature-content {
    transform: scale(1.02) skewX(0deg);
  }
  
  .feature-item:hover .feature-icon {
    transform: translateX(-50%) scale(1.02);
  }
  
  .feature-title,
  .feature-desc {
    transform: skewX(0deg);
  }
}

/* ===== BRANDS SECTION ===== */
.brands-section {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 0;
}

.brands-container {
  text-align: center;
}

.brands-header {
  margin-bottom: 6vh;
}

.brands-title {
  font-size: 2.5rem;
  color: #021D49;
  margin: 0;
  font-weight: 700;
  font-family: 'UniviaProBold', sans-serif;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7vw;
  flex-wrap: wrap;
}

.brand-item {
  flex: 0 1 auto;
  transition: transform 0.3s ease;
}

.brand-item:hover {
  transform: scale(1.1);
}

.brand-item img {
  max-width: 30vw;
  width: auto;
  height: auto;
  display: block;
  max-height: 25vh;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Responsive */
@media (max-width: 768px) {
  .brands-section {
    min-height: 50vh;
    padding: 6vh 0;
  }

  .brands-container {
    width: 85%;
  }

  .brands-header {
    margin-bottom: 4vh;
  }

  .brands-title {
    font-size: 8vw;
  }

  .brands-grid {
    flex-direction: column;
    gap: 6vh;
  }

  .brand-item img {
    max-width: 60vw;
    width: auto;
    max-height: 20vh;
  }
}

.us {
  padding: 4rem 0;
}

.mv {
  padding: 4rem 0;
}

.mv-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  max-height: none;
  height: 100%;
}

.mv-image img {
  width: auto;
  height: auto;
  object-fit: cover;
}

.tc {
  text-align: center;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-family: 'UniviaProBold', sans-serif;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-family: 'UniviaPro', sans-serif;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-content .section-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #021D49;
  font-weight: 700;
  padding-right: 2.5rem;
}

.mv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mv-content .section-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #021D49;
  font-weight: 700;
  padding-right: 2.5rem;
}

.philosophy-text {
  margin-bottom: 2.5rem;
}

.philosophy-text p {
  color: #021D49 !important;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  padding-right: 2.5rem !important;
  text-align: justify;
  font-family: 'UniviaPro', sans-serif;
}

.philosophy-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  max-height: none;
  height: 100%;
}

.philosophy-image img {
  max-width: 500px;
  max-height: 600px;
  width: auto;
  height: auto;
  border-radius: 80px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Philosophy Values */
.philosophy-values {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 1.5rem;
  padding-right: 2.5rem !important;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 50px;
  height: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #021D49;
}

.value-item:hover {
  /*background: #f8f9fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);*/
}

.value-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: scale(1.1);
}

.value-content h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  font-family: 'UniviaProBold', sans-serif;
}

/* ===== CONTACT ===== */
.contact {
  scroll-margin-top: 4rem;
  padding: 4rem 0;
  background: #f8f9fa;
  box-shadow: 0px 0px 31.1px 16px #00000024;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Information */
.contact-info {
  padding: 2rem 0;
}

.contact-title {
  font-size: 2.2rem;
  color: #021D49;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: 'UniviaProBold', sans-serif;
}

.contact-description {
  color: #021D49;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-family: 'UniviaPro', sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.contact-details .contact-item {
  border-radius: 28px;
}

.test {
  display: flex;
  margin-left: 6px;
  background: #F8F9FA;
  width: 100%;
  transition: all 0.3s ease;
  border-radius: 28px;
}

.contact-item:hover .test {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(20px);
  background-color: #EAEAEA;
}


.contact-details .contact-item .contact-label {
  color: #021D49;
  font-family: 'UniviaProMedemium', sans-serif;  
  font-size: 1.3rem;
  font-weight: 600;
}

/* Change contact form label color */
.contact-form .form-group label {
  color: #021D49;
  font-size: 14px;
  /*font-weight: bold;*/
}

/* Change all section titles color */
.section-title,
.philosophy-content .section-title,
.form-title {
  color: #021D49 !important;
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-weight: 500;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: 'UniviaProMedium', sans-serif;
}

.contact-value {
  color: #021D49;
  font-size: 1.2rem;
  font-family: 'UniviaPro', sans-serif;
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  /*box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);*/
  box-shadow: 0px 0px 22.4px 7px #065A6C40;
}

.form-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'UniviaProMedium', sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-family: 'UniviaPro', sans-serif;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #A3A3A3;
  font-family: 'UniviaPro', sans-serif;
}

.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'UniviaPro', sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: #A3A3A3;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: white;
  color: #021D49;
  padding: 0.75rem 2rem;
  border: 2px solid #021D49;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'UniviaProMedium', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
  width: auto;
  margin: 1rem auto 0 auto;
  white-space: nowrap;
}

.btn-submit:hover {
  background: #f0f4ff;
  color: #1e3a8a;
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.btn-submit i {
  font-size: 0.9rem;
}

/* ===== FAQS SECTION ===== */
.faqs {
  scroll-margin-top: 4rem;
  padding: 4rem 0;
  background-image: url("../custom-dental/assets/images/fondosecond.png") !important;
}

.faqs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;  
}

.faq-item {
  position: relative;
  border-radius: 80px;
  background: transparent;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  color: #e2e8f0;
  padding: 3rem 0 0;
}

.footer-content {
  display: grid;
  /*grid-template-columns: 1.2fr 1fr 1fr 1.2fr;*/
  grid-template-columns: 1fr 1fr 1fr 1fr 3.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Footer Brand Section */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

.footer-brand .footer-logo .brand-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #60a5fa;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.footer-brand .footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  padding-top: 30px;
}

.footer-description {
    width: 295px;
    height: 90px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    line-height: 1.4;
  	padding-bottom: 0px;
    font-family: 'UniviaProLight', sans-serif;
}


.footer-social-icons {
  display: flex;
  width: 230px;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
}

.footer-social-icons a {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-icons img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover img {
  transform: scale(1.3);
  filter: brightness(100);
}

/* Footer Sections */
.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: 'UniviaProMedium', sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  line-height: 1.5;
  font-family: 'UniviaProBook', sans-serif;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;  
}

.contact-info-footer {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.contact-item {
  display: flex;
  align-items: stretch;
  /*font-family: 'Univia Pro';*/
  gap: 0.75rem;
  margin-bottom: 1rem;
  /*padding: 0.5rem 1.5rem;*/
  /*padding-right: 4.6rem;*/
  border-radius: 15px 0 15px 0;
  position: relative;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 1rem;
  min-height: 50px;
  /*background: rgba(255, 255, 255, 0.05);*/
  background: linear-gradient(91.66deg, #021D49 0%, rgba(66, 96, 124, 0.465865) 19.71%, rgba(27, 60, 91, 0.350577) 26.92%, rgba(90, 116, 174, 0.581154) 48.08%, rgba(11, 35, 81, 0.12) 100%);
  /*border: 1px solid rgba(255, 255, 255, 0.1);*/
}


.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  align-self: stretch;
}

.contact-icon img {
  width: auto;
  height: 100%;
  transform: scale(1);
  object-fit: contain;
}

.contact-text {
  flex: 1;
  display: flex;
  align-items: center;
  font-family: 'UniviaProBook', sans-serif;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-family: 'UniviaProMedium', sans-serif;
}

.whatsapp-btn:hover {
  background: #20b358;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  color: white;
}

.whatsapp-btn i {
  font-size: 1.1rem;
}

.whatsapp-btn-prod {
  display: block;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-family: 'UniviaProMedium', sans-serif;
}

.whatsapp-btn-prod:hover {
  background: #20b358;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  color: white;
}

.whatsapp-btn-prod i {
  font-size: 1.1rem;
  padding-inline: 10px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #334155;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
  font-family: 'UniviaProLight', sans-serif;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #60a5fa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }
  
  .header-content {
    position: relative;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 1rem 0;
    z-index: 1000;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 0 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 40px;
  }
  
  .hero {
    height: 20vh;
    margin-top: 100px;
    min-height: 20vh;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .philosophy-content .section-title {
    text-align: center;
    font-size: 2rem;
  }

  .mv-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mv-content .section-title {
    text-align: center;
    font-size: 2rem;
  }

  .philosophy-image, .mv-image {
    min-height: auto;
    max-height: 350px;
  }

  .philosophy-image img, .mv-image img {
    max-width: 300px;
    max-height: 320px;
  }

  .philosophy-values {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-right: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* ===== NUEVAS PLANTILLAS ===== */

/* Main Content */
.main-content {
  padding-top: 100px;
  min-height: 70vh;
  background-image: url("../custom-dental/assets/images/bgnosotros.png") !important;
}

.products_services {
  background-image: url("../custom-dental/assets/images/fondofirst.png") !important;
}

/* Page Template */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.page-featured-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.page-body {
  margin: 2rem 0;
}

.page-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.page-text h2,
.page-text h3,
.page-text h4 {
  color: #333;
  margin: 2rem 0 1rem;
}

.page-text p {
  margin-bottom: 1.5rem;
}

.page-text ul,
.page-text ol {
  margin: 1rem 0 1rem 2rem;
}

.page-text li {
  margin-bottom: 0.5rem;
}

/* Contact Form on Contact Page */
.contact-form-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  border-radius: 28px;
  /*align-items: flex-start;*/
  gap: 0.2rem;
  transition: all 0.3s ease;
}

.contact-item i {
  color: #0066cc;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-text strong {
  display: block;
  color: #333;
  margin-bottom: 0.25rem;
}

.contact-text span {
  color: #FFFFFF;
  /*font-family: 'Univia Pro';*/
  /*font-family: 'Pogonia', sans-serif;*/
  font-size: 0.95rem;
}

/* Blog Template */
.posts-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-description {
  color: #666;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.post-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.post-title a:hover {
  color: #0066cc;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.read-more-btn:hover {
  color: #0052a3;
}

/* Single Post Template */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb .separator {
  margin: 0 0.5rem;
}

.post-header .post-title {
  font-size: 2.5rem;
  color: #333;
  margin: 1rem 0;
  line-height: 1.2;
}

.post-featured-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin: 2rem 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: #333;
  margin: 2rem 0 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.share-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.share-section h4 {
  margin-bottom: 1rem;
  color: #333;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.share-btn:hover {
  opacity: 0.8;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn.whatsapp {
  background: #25d366;
}

.post-navigation {
  margin: 3rem 0;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  /*transition: background 0.3s;*/
}

.nav-link:hover {
  background: #e9ecef;
}

.nav-content {
  display: flex;
  flex-direction: column;
}

.nav-subtitle {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.nav-title {
  font-weight: 600;
  color: #333;
}

.author-bio {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 2rem 0;
}

.author-avatar img {
  border-radius: 50%;
}

.author-name {
  color: #333;
  margin-bottom: 0.5rem;
}

.author-description {
  color: #555;
  line-height: 1.6;
}

.related-posts {
  margin: 3rem 0;
}

.related-posts h4 {
  color: #333;
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-post-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post-content {
  padding: 1rem;
}

.related-post-title a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.related-post-title a:hover {
  color: #0066cc;
}

.related-post-meta {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Archive Template */
.archive-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.archive-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.archive-description {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto;
}

.author-bio-archive {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.archive-stats {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

.archive-post-card .post-tags {
  margin: 1rem 0;
  font-size: 0.85rem;
}

.archive-post-card .post-tags a {
  color: #0066cc;
  text-decoration: none;
  margin-right: 0.5rem;
}

.archive-post-card .post-tags a:hover {
  text-decoration: underline;
}

/* Pagination */
.pagination-wrapper {
  margin: 3rem 0;
  text-align: center;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-numbers li {
  display: inline-block;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.pagination .page-numbers a:hover {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.pagination .page-numbers .current {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.no-posts-content i {
  color: #ccc;
  margin-bottom: 1rem;
}

.no-posts-content h2 {
  color: #333;
  margin: 1rem 0;
}

.btn-home,
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  /*transition: background 0.3s;*/
}

.btn-home:hover,
.btn-back:hover {
  background: #0052a3;
}

/* Edit Link */
.edit-link {
  margin: 2rem 0;
  text-align: center;
}

.edit-link a {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid #0066cc;
  border-radius: 4px;
  transition: all 0.3s;
}

.edit-link a:hover {
  background: #0066cc;
  color: white;
}

/* Mobile Responsive for New Templates */
@media (max-width: 768px) {
  .main-content {
    padding-top: 80px;
  }
  
  .page-title,
  .archive-title {
    font-size: 2rem;
  }
  
  .single-post .post-title {
    font-size: 2rem;
  }
  
  .contact-form-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio-archive {
    flex-direction: column;
    text-align: center;
  }
  
  .archive-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pagination .page-numbers {
    flex-wrap: wrap;
  }
  
  /* Footer Responsive */
  .footer-content {
    justify-content: center;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }  

  .footer-logo img {
    max-height: 50px;
  }

  .footer-brand .footer-logo .brand-name {
    font-size: 2rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .legal-links {
    gap: 1rem;
  }
  
  .contact-item {
    justify-content: center;
  }
}



.button-faq {
  background-color: #DFDFDF;
  /*background-color: #FFFFFF; 
  opacity: 0.5;
  filter: alpha(opacity=50);*/
  color: #000000;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 80px;
  margin-top: 1rem;
  box-shadow: 0px 4px 4px 0px #00000040;
  width: 100%;
  margin: 1rem auto 0 auto;
  white-space: nowrap;
  border: 0;
  transition: all 0.3s ease;
  font-family: 'PogoniaSemibold', sans-serif;
  /*transition: transform 1s ease-in-out;*/ /* Smooth transition for scaling */
}

.button-faq:hover {
  /*background-image: url("../custom-dental/assets/images/alterbtnfaq.jpg ") !important;*/
  font-size: 1.1rem;   
  color: #000000;
}

.button-faq.active {
  font-size: 1.1rem !important;
  background-color: #061D44;
  color: #FFFFFF;
  transition: all 0.3s ease-in-out;
}

.button-faq.active:hover {
  /*background: #061D44;*/
  background: radial-gradient(circle, rgba(6, 29, 68, 1) 0%, rgba(84, 17, 27, 1) 100%);
}

.answer-content {
  max-height: 0;  
  padding: 0 18px;  
  /*display: none;*/
  overflow: hidden;
  background-color: #D9D9D9;
  margin-inline: 40px;  
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: max-height 0.5s ease-in-out;
}

.avisible {
  max-height: 400px;  
}

#wpfBlock_1 .wpfFilterVerScroll {
  max-height: unset !important;
}

.answer-content p {
  margin-top: 20px;
  font-family: 'UniviaProMedium', sans-serif;
  color: #000000;
}

/* ===== PRODUCT LINES SECTION ===== */
.product-lines {
  padding: 4rem 0;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #021D49;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Product Lines Grid */
.product-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-line-item {
  position: relative;
  overflow: hidden;
  border-radius: 80px;
  /*background: transparent;*/
  /*transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);*/
}

.product-line-item img {
  width: 100%;
  height: auto;
  /*display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;*/
}


.product-line-content {
  position: relative;
  background-color: #EBEBEB;
  border-radius: 80px;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.product-line-content a {
  display: block;
  text-decoration: none;
  position: relative;
}

.product-line-content span {
  background-color: #021D49;
  color: #FFFFFF;
  padding-block: 15px;
  padding-inline: 40px;
  font-family: 'UniviaProBlack', sans-serif;
  border-radius: 40px;
  font-size: 1.5rem;
}

.product-line-item:hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.1);
}

/* Precise gradient overlay positioned exactly over image */
/*.product-line-content a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(145, 230, 219, 1) 0%, transparent 7%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 80px;
  z-index: 2;
}*/

/*.product-line-item:hover .product-line-content a::after {
  opacity: 1;
}*/

/* For items without links */
/*.product-line-content:not(:has(a))::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(145, 230, 219, 1) 0%, transparent 7%);
  background: linear-gradient(180deg, #061D44 0%, #54111B 100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 80px;
  z-index: 2;
}*/

.product-line-item:hover .product-line-content {
  background: linear-gradient(180deg, #021D49 0%, #630B2B 100%);
/*  background: linear-gradient(180deg, #061D44 0%, #54111B 100%);*/
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);

  /*transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
  pointer-events: none;
  border-radius: 80px;
  padding-bottom: 40px;
  /*z-index: 2;*/
}


.product-line-item:hover .product-line-content span {
  background-color: #FFFFFF;
  color: #021D49;
}

/*.product-line-item:hover .product-line-content:not(:has(a))::after {
  opacity: 1;
}*/


/* Product Card Styles */
.product-card {
  background: white;
  border-radius: 80px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #6B46C1, #EC4899);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.product-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title a:hover {
  color: #6B46C1;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 1rem;
  text-align: center;
}

.product-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}


.btn-view-product {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-view-product:hover {
  background: #6B46C1;
  color: white;
  border-color: #6B46C1;
}

.btn-quote-product {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #6B46C1, #EC4899);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-quote-product:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.section-actions {
  text-align: center;
}

.btn-view-all-products {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #6B46C1, #EC4899);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-view-all-products:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(107, 70, 193, 0.4);
  color: white;
}

/* ===== LOCATION MAP SECTION ===== */
.location-map {
  padding: 4rem 0;
  background: white;
}

.map-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.map-wrapper {
  border-radius: 80px;
  overflow: hidden;
  /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
  box-shadow: 0px 0px 15.6px 12px #065A6C59;
  min-height: 400px;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 400px;
}

/* Map Address Bar */
.map-address-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /*background: rgba(128, 128, 128, 0.9);*/
  background-color: #FFFFFF;
  color: #021D49;
  padding: 12px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  z-index: 10;
}

.map-address-bar span {
  display: inline-block;
  font-family: 'UniviaPro', sans-serif;
}

/* Map Fallback Styles */
.map-fallback {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  border-radius: 80px;
  text-align: center;
  padding: 2rem;
}

.fallback-content {
  max-width: 300px;
}

.fallback-content i {
  color: #6B46C1;
  margin-bottom: 1rem;
}

.fallback-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.fallback-content .address {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.fallback-content .contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fallback-content .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  color: #666;
}

.fallback-content .contact-item i {
  color: #6B46C1;
  font-size: 1rem;
  margin-bottom: 0;
}

.btn-view-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6B46C1;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view-map:hover {
  background: #553c9a;
  transform: translateY(-1px);
  color: white;
}


.btn-whatsapp,
.btn-contact-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20b358;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  color: white;
}

.btn-contact-form {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #e9ecef;
}

.btn-contact-form:hover {
  background: #6B46C1;
  color: white;
  border-color: #6B46C1;
}

/* Quote Modal Styles (for future implementation) */
.quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.quote-modal.active {
  display: flex;
}

.quote-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 80px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.quote-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.quote-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0.5rem;
  border-radius: 4px;
  /*transition: background 0.3s ease;*/
}

.quote-modal-close:hover {
  background: #f8f9fa;
}

/* Responsive Design for New Sections */
/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .product-lines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mv-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .featured-products,
  .location-map {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Product Lines Grid Responsive */
  .product-lines-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-lines {
    padding: 2rem 0;
  }
  
  .features-mini {
    padding: 2rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .feature-content {
    max-width: 100%;
    width: 100%;
    height: 140px;
  }
  
  .product-line-label {
    font-size: 0.9rem;
    padding: 10px 24px;
    bottom: 15px;
  }
  
  
  .btn-quote-product {
    justify-content: center;
  }
  
  .map-container {
    justify-content: center;
  }
  
  .map-wrapper {
    max-width: 100%;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faqs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .button-faq {
    white-space: unset;
    width: 100%;
    margin: auto;
  }
  
  .contact-title {
    font-size: 1.8rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .map-wrapper {
    min-height: 300px;
  }

  .map-address-bar {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .contact-actions {
    gap: 0.75rem;
  }
  
  .quote-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  /* Footer Responsive */
  .footer-content {    
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }  

  .footer-logo img {
    max-height: 40px;
  }

  .footer-brand .footer-logo .brand-name {
    font-size: 2rem;
  }

  .footer-social-icons {
    width: 100%;
    max-width: 273px;
    justify-content: center;
    gap: 0.5rem;
    margin: 15px auto 0;
  }

  .footer-social-icons a {
    width: 55px;
    height: 55px;
  }

  .footer-social-icons img {
    width: 55px;
    height: 55px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .legal-links {
    gap: 1rem;
  }

  .contact-item {
    justify-content: flex-start;
    text-align: left;
    gap: 0 !important;
  }

  .contact-icon {
    /*width: 36px;
    height: 36px;*/
  }

  .whatsapp-btn {
    align-self: center;
  }
  
  .philosophy-text p {
    padding-right: 0 !important;
  }

  .contact-text span {
    font-size: 0.75rem;
  }
}

/* Woo category nav */

.woo-cat-nav {
  list-style-type: none;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.woo-cat-nav li {
  padding: 5px 0;
  margin: 0 10px;
  border-bottom: 1px solid #ccc;
  font-size: 0.95em;
  text-transform: uppercase;
}

@media (max-width: 768px) {

  .woo-cat-nav {
      margin-bottom: 40px;
  }

  .woo-cat-nav {
      justify-content: center;
  }
}

.wpfCheckbox { /*.wpfPreview, .wpfPreviewLoader, */
  display: none !important;
}

.la-spinner, .wpfIconPreview .spinner, .wpfLoaderIconTemplate .spinner, .woobewoo-filter-loader.spinner {
  -webkit-animation: unset;
  animation: unset !important;
  background-image: url("../custom-dental/assets/images/loading_icon.gif") !important; 
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  background-size: contain !important;
}


.wpfPreview, .wpfPreviewLoader {
  -webkit-animation: unset;
  animation: unset !important;
  background-color: transparent !important;
}

.woobewoo-filter-loader, .spinner {
  /*background-image: url("../custom-dental/assets/images/loadingicon.gif") !important;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: cover;
  -webkit-animation: unset;
  animation: unset;*/
}

.wpfLiLabel {
  border: 1px solid #BDBDBD !important;
  border-radius: 20px;
  text-align: center !important;
  color: #021D49 !important;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;    /* Internet Explorer/Edge */
  user-select: none;        /* Standard syntax */
}

.page-text ul {
  margin: 1rem 0 1rem 0 !important;
}

/*.wpfFilterVerScroll li:not(:first-child) {
  margin-top: 10px; 
}*/

.wpfFilterVerScroll {
  display: flex !important;
  flex-direction: column !important; /* For vertical spacing */
  gap: 10px !important; 
}

.wpfFilterVerScroll li {
  overflow: hidden;
  margin: 10px;
}

.wpfiSel {
  background: linear-gradient(91.5deg, #021D49 25.96%, #660002 100%) !important;  
  color: #FFFFFF !important;  
}

.wpfiSel2 {
  font-family: 'UniviaProBold', sans-serif !important;
}

.wpfiSel:hover {
  box-shadow: 0px 0px 6.2px 6px #FFFFFF8A inset;
}

.hide {
  display: none !important;  
}

.noborder {
  border: 0 !important;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: #D9D9D9;
  border-radius: 15px;
  text-align: center;
  padding-top: 10px;
  padding-inline: 10px;
}

.woocommerce ul.products li.product:hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
  background: linear-gradient(90deg, #D9D9D9 0%, #06556C 100%);
}

.woocommerce ul.products li.product:hover h2 {
  color: #FFFFFF !important;
}

.woocommerce-loop-product__title {}

.woocommerce .products ul, .woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: inline-block !important;
}

.woocommerce ul.products li.product a img {
  width: auto !important;  
  display: inline-block !important;
}

.woocommerce-loop-product__title {
  color: #021D49 !important;
  font-family: 'UniviaProMedium', sans-serif;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  border: 1px solid #021D49 !important;
}

.dgwt-wcas-search-wrapp {
  float: left;  
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: #021D49 !important;  
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: 'UniviaProMedium', sans-serif;
}

.woocommerce div.product .woocommerce-tabs .panel p {
  font-family: 'UniviaProBook', sans-serif;
}

.woocommerce div.product div.summary {
  /*float: left;*/
  width: auto;
}

.woocommerce-page div.product div.images { 
  float: unset;
  width: auto;
}

.woocommerce div.product .product_title {
  color: #021D49 !important;
  font-family: 'UniviaProUltra', sans-serif;
}

.product_meta {
  color: #021D49 !important;
  font-family: 'UniviaPro', sans-serif;
}

.posted_in a {
  text-decoration: none !important;
  color: #021D49 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  background-color: #FFFFFF !important;
  margin: 10px;
  border-radius: 30px;
  /*padding: 10px;*/
  height: 130px;
  width: 20%;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  height: 100% !important;
  width: 100% !important;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
  /*max-width: 50%;*/
}

.woocommerce div.product div.images img {
  width: auto;
  height: auto;
  display: block;
  margin: auto !important;
}

.flex-viewport, .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  background-color: #FFFFFF;
  border-radius: 30px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  padding: 10px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  font-family: 'UniviaPro', sans-serif;
  color: #A3A3A3;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  background: transparent !important;
}

.fbold {
  font-family: 'UniviaProBold', sans-serif;
}

.fbook {
  font-family: 'UniviaProBook', sans-serif;
}

.woocommerce-products-header h1 {
  font-family: 'UniviaProBold', sans-serif;  
  color: #021D49;
}

.woocommerce-result-count {
  font-family: 'UniviaPro', sans-serif;
  color: #021D49;
}

.orderby {
  font-family: 'UniviaPro', sans-serif;
  color: #021D49;
}

.moptions {
  padding: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.moptions:not(.wpfiSel):hover {
  /*transform: translateY(1%) scale(1.02);*/
}

/*.p5 {
  padding: 5px;
}*/

.woocommerce-product-details__short-description p {
    font-family: 'UniviaProBook', sans-serif;
    color: #021D49;
}

ul.flex-direction-nav {
  position: absolute;
  top: 30%;
  z-index: 9;
  width: 100%;
  left: 0;
  margin: 0;
  padding: 0px;
  list-style: none;}

li.flex-nav-prev {float: left;}
li.flex-nav-next {float: right;}
a.flex-next {visibility:hidden; color: #F5333F; text-decoration: none;}
a.flex-prev {visibility:hidden; color: #F5333F; text-decoration: none;}
a.flex-next::after {visibility:visible;content: '\f105';
  font-family: FontAwesome;margin-right: 10px;font-size: 30px;    }
a.flex-prev::before {
  visibility:visible;
  content: '\f104';
  font-family: FontAwesome;    margin-left: 10px;font-size: 30px;}