/*!
Theme Name: Solox Child theme
Theme URI: https://bracketweb.com/soloxwp/
Template: solox
Author: Layerdrops
Author URI: https://themeforest.net/user/Layerdrops
Description: This is a Child theme for Solox WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: solox-child
*/

/* Paya Dental – paleta azul (Figma: Client Preview / Palette Proposal – Blue).
   Sobrescribe las variables de color de Solox para que todos los widgets del tema usen la paleta. */
:root {
  --solox-base: #1f62d6;
  --solox-base-rgb: 31, 98, 214;
  --solox-black: #0b1b3a;
  --solox-black-rgb: 11, 27, 58;
  --solox-black2: #06122a;
  --solox-black2-rgb: 6, 18, 42;
  --solox-text: #56657d;
  --solox-text-rgb: 86, 101, 125;
  --solox-text-dark: #56657d;
  --solox-text-dark-rgb: 86, 101, 125;
  --solox-text-gray: #afc0d9;
  --solox-text-gray-rgb: 175, 192, 217;
  --solox-gray: #f1f6fc;
  --solox-gray-rgb: 241, 246, 252;
  --solox-border-color: #dce6f4;
  --solox-border-color-rgb: 220, 230, 244;
}


/* Paya Dental - click-to-call button in the primary header. */
.paya-header-phone {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  background: var(--solox-black, #0b1b3a);
  color: #fff;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.paya-header-phone:hover,
.paya-header-phone:focus {
  background: var(--solox-base, #1f62d6);
  color: #fff;
}

.paya-header-phone:hover {
  transform: translateY(-1px);
}

.paya-header-phone:focus-visible {
  outline: 3px solid var(--solox-base, #1f62d6);
  outline-offset: 3px;
}

.paya-header-phone i {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 767px) {
  .paya-header-phone {
    width: 44px;
    height: 44px;
    margin-right: 0;
    margin-left: 12px;
    flex-basis: 44px;
  }
}


/* Paya Dental - collision-free responsive header composition. */
.pd-header .main-header__right {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

@media (min-width: 1400px) {
  .pd-header .paya-header-phone {
    order: 1;
    margin: 0 12px 0 0;
  }

  .pd-header .main-header__btn { order: 2; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .pd-header .main-header__btn { display: none; }

  .pd-header .paya-header-phone {
    order: 1;
    margin: 0;
  }

  .pd-header .main-menu .main-menu__list {
    gap: 28px;
  }
}

@media (max-width: 1199px) {
  .pd-header .main-header__btn { display: none; }

  .pd-header .main-header__right {
    gap: 12px;
  }

  .pd-header .paya-header-phone {
    order: 1;
    margin: 0;
  }

  .pd-header .mobile-nav__btn {
    order: 2;
    margin-left: 0;
  }
}

@media (max-width: 374px) {
  .pd-header .main-header__logo img {
    width: 132px;
  }

  .pd-header .main-header__right {
    gap: 8px;
  }
}


@media (min-width: 1400px) {
  .pd-header .main-menu .main-menu__list > li + li {
    margin-left: 34px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .pd-header .main-menu .main-menu__list > li + li {
    margin-left: 32px;
  }
}

/* Paya Dental - center desktop navigation in the usable header space. */
.pd-header .main-header__right {
  border-left: 0 !important;
  padding-left: 0 !important;
}

@media (min-width: 1200px) {
  .pd-header .main-header > .container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .pd-header .main-header--three__inner-top {
    display: contents;
  }

  .pd-header .main-header__logo,
  .pd-header .main-header--three__inner-bottom,
  .pd-header .main-header__right {
    grid-row: 1;
  }

  .pd-header .main-header__logo {
    grid-column: 1;
  }

  .pd-header .main-header--three__inner-bottom {
    grid-column: 2;
    position: static;
    inset: auto;
    width: 100%;
    height: 165px;
    transform: none;
    justify-content: center;
  }

  .pd-header .main-header__right {
    grid-column: 3;
  }
}

@media (max-width: 1199px) {
  .pd-header .main-header__right {
    gap: 20px;
  }
}

@media (max-width: 374px) {
  .pd-header .main-header__right {
    gap: 20px;
  }
}
