/*!
Theme Name: Didac Print
Theme URI: https://didacprint.com
Template: kadence
Author: Didac Print
Author URI: https://didacprint.com
Description: Didac Print Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/


.custom-logo {
  width: 250px
}

.didac-logo-mobile{
  max-width: 180px;
}

.didac-search-adv {
  border-radius: 80px;
  margin: auto;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.didac-search-adv-mobile {
  border-radius: 80px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.didac-search-adv-mobile input {
  border-radius: 80px !important;
}

.didac-search-adv:focus-within {
  box-shadow: rgba(178, 157, 157, 0.15) 1.95px 1.95px 2.6px;
  border: 1px solid rgba(0, 117, 162, 0.8);
}

.didac-topbar {
  background: transparent;
  color: #fff;
  padding: 8px 20px;
}

.didac-contact-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.didac-contact-list .kt-svg-icon-list-item-wrap {
  display: inline-flex;
  align-items: center;
}

.didac-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.didac-contact-link:hover {
  opacity: 1;
  color: #ffb834;
}

.didac-topbar .kadence-dynamic-icon {
  display: inline-flex;
  align-items: center;
}

.didac-topbar .kadence-dynamic-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.didac-topbar-schedule {
  background: transparent;
  color: #fff;
  font-size: 16px;
  text-align: center;
  padding: 6px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

.didac-topbar-schedule svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.didac-main-gallery-slider img {
  object-fit: contain !important;
}

/* Base */
.didac-contact-form,
.didac-contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.didac-contact-form {
  color: #fff;
}

/* Rows */
.didac-contact-form__row,
.didac-contact-page-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Fields */
.didac-contact-form__field,
.didac-contact-page-form__field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Two-column row (solo usado en el form compacto) */
.didac-contact-form__row--two>.didac-contact-form__field,
.didac-contact-page-form__row--two>.didac-contact-page-form__field {
  flex: 1 1 calc(50% - 8px);
  min-width: 260px;
}

/* Actions */
.didac-contact-form__row--actions,
.didac-contact-page-form__row--actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.didac-contact-form__field--accept,
.didac-contact-page-form__field--accept {
  flex: 1 1 auto;
}

.didac-contact-form__field--submit,
.didac-contact-page-form__field--submit {
  flex: 0 0 auto;
}

/* Responsive */
@media(max-width:640px) {

  .didac-contact-form__row--two>.didac-contact-form__field,
  .didac-contact-page-form__row--two>.didac-contact-page-form__field {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .didac-contact-form__row--actions,
  .didac-contact-page-form__row--actions {
    flex-direction: column;
    align-items: stretch;
  }

  .didac-contact-form__field--submit,
  .didac-contact-page-form__field--submit {
    width: 100%;
  }
}


/* Estilo base iconos en menú */
.didac-icon>a {
  position: relative;
  padding-left: 26px !important;
  /* espacio para el icono */
}

/* Pseudo-elemento para el SVG */
.didac-icon>a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
}


.didac-icon-location>a::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 1 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}

.didac-icon-phone>a::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.31 1.78.57 2.63a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.45-1.14a2 2 0 0 1 2.11-.45c.85.26 1.73.45 2.63.57A2 2 0 0 1 22 16.92z'/></svg>");
}


.didac-icon-email>a::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2' ry='2'/><polyline points='3,5 12,12 21,5'/></svg>");
}
.didac-icon-mobile > a::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='2' width='14' height='20' rx='3' ry='3'/><line x1='12' y1='18' x2='12' y2='18'/></svg>");
}
