/* Header y footer propios (site-shell). Estilos portados del proyecto anterior con nombres kdc-*.
   Se carga después de style.css. */

.kdc-header__desktop {
  display: none;
}

.kdc-header__mobile {
  display: block;
}

.kdc-topbar__phone-note {
  padding-left: 4px;
}

.kdc-topbar__link,
.kdc-topbar__calendar {
  color: #000000;
}
.kdc-topbar__link:hover,
.kdc-topbar__calendar:hover {
  text-decoration: none;
  color: #000000;
}

.kdc-topbar__calendar,
.kdc-topbar__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.kdc-topbar__calendar svg,
.kdc-topbar__phone svg {
  margin: auto 5px;
  cursor: pointer;
}

.kdc-topbar__calendar svg path,
.kdc-topbar__phone svg path {
  fill: #36373a;
}

.kdc-header__wrapper {
  width: 100%;
  font-family: Fira Sans Condensed;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #404140;
}

.kdc-topbar {
  font-weight: normal;
  background: #f6d000;
  min-height: 35px;
  display: flex;
  font-size: 14px;
}

.kdc-topbar__wrapper {
  align-items: center;
  display: flex;
  max-width: 1400px;
  width: 100%;
  justify-content: space-between;
  margin: auto;
}

.kdc-topbar__left {
  display: flex;
  text-transform: uppercase;
  font-size: 14px;
  flex-wrap: wrap;
}

.kdc-header__black {
  background: #36373a;
  display: flex;
}

.kdc-header__black-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 13px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kdc-header__logo-menu {
  display: flex;
  align-items: center;
  margin: 0 35px;
}

.kdc-menu {
  background: #36373a;
}

.kdc-menu__list {
  align-items: flex-end;
  display: flex;
  list-style-type: none;
  margin: auto;
  max-width: 1440px;
  overflow: hidden;
  padding: 0 20px;
  width: 100%;
}
.kdc-menu__link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
  border-top: 5px solid #36373a;
  padding: 2px 12px;
  display: flex;
  height: 39px;
  align-items: center;
}

.kdc-menu__item .kdc-menu__link:hover,
.kdc-menu__item:hover .kdc-menu__link {
  border-top: 5px solid #f6d000;
  background-color: #efefef;
  color: #36373a;
}

li.kdc-menu__item {
  margin: 0 2.75rem;
}

li.kdc-menu__item:nth-child(6) {
  margin-left: auto;
}

li.kdc-menu__item:first-child {
  margin-left: 0;
}

.kdc-header__logo-image {
  padding-top: 10px;
}

.kdc-footer__outer {
  background-color: #404140;
  width: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 60px 20px 60px 20px;
}
.kdc-footer__columns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  background-color: #404140;
  color: white;
  flex-wrap: wrap;
}
.kdc-footer__columns a {
  text-decoration: none;
  color: white;
  font-family: "Fira Sans Condensed";
}
.kdc-footer__column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 13%;
  min-width: 220px;
}
.kdc-footer__title {
  min-width: 60%;
  max-width: 90%;
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d2b30d;
}
.kdc-footer__title h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
  color: white;
  font-family: "Fira Sans Condensed";
}

.kdc-footer__title svg {
  display: none;
}

.kdc-footer__link {
  font-size: 14px;
}

.kdc-footer__link a:hover {
  text-decoration: underline;
  color: white;
}

.kdc-newsletter {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  font-family: "Fira Sans Condensed";
}

.kdc-footer__column-newsletter {
  min-width: 220px;
}

.kdc-newsletter__field {
  display: flex;
  flex-wrap: nowrap;
  height: 35px;
  margin-top: 6px;
  margin-bottom: 6px;
  font-family: "Fira Sans Condensed";
}

.kdc-newsletter__input {
  width: 80%;
  height: 100%;
  padding-left: 5px;
  font-family: "Fira Sans Condensed";
  font-size: 12px;
  border-width: 2px;
  border-style: inset;
  border-color: rgb(118, 118, 118) !important;
  border-radius: 2px !important;
}

.kdc-newsletter__button {
  align-items: center;
  background-color: #646569;
  border: none;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 35px;
  border-radius: 0px;
  padding: 1px 6px;
}
.kdc-newsletter__button svg {
  width: 12px;
  height: 12px;
}

.kdc-footer__social-item {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  font-size: 14px;
  height: 25px;
  font-family: "Fira Sans Condensed";
}

.kdc-footer__social-logo {
  margin-top: -1px;
  margin-right: 4px;
}

.kdc-newsletter__checkmark {
  margin-right: 3px;
}

.kdc-newsletter__check {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  color: #fff;
  font-size: 11px;
  margin: 7px 0;
  font-weight: 500;
  font-family: "Fira Sans Condensed";
}
.kdc-newsletter__check input {
  position: sticky;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.kdc-newsletter__check input:checked ~ .kdc-newsletter__checkmark {
  background-color: #dedede;
  border-color: transparent;
}

.kdc-newsletter__check input:checked ~ .kdc-newsletter__checkmark:after {
  display: block;
}

.kdc-newsletter__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #b1b0b0;
  border-radius: 1px;
  background-color: white;
}

.kdc-newsletter__checkmark:after {
  content: "";
  position: absolute;
  display: none;
  width: 7px;
  height: 12px;
  border: solid black;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  left: 6px;
  top: 2px;
}

.kdc-payments {
  background-color: white;
  display: flex;
  justify-content: center;
  padding: 15px 60px 15px 60px;
}

.kdc-payments__inner {
  align-items: center;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  max-width: 1440px;
  width: 100%;
}

.kdc-payments__logo {
  width: 10%;
  height: auto;
}

.kdc-payments__visa,
.kdc-payments__mastercard {
  width: 7%;
  height: auto;
}

.kdc-address {
  background-color: #404140;
  display: flex;
  justify-content: center;
  padding: 5px 5px 5px 5px;
}

.kdc-address__inner {
  background-color: #404140;
  color: white;
  width: 100%;
  max-width: 1440px;
  font-size: 10px;
}

/* Base móvil */
.kdc-header__desktop {
  display: none;
}

.kdc-header__mobile {
  display: block;
}

.kdc-topbar__left {
  background-color: rgb(246, 208, 0);
  margin: 0;
  width: 100%;
}

.kdc-header__menu-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  color: black;
  margin: 0;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
}

.kdc-header__menu-icon {
  display: block;
  width: 24px;
  height: 26px;
}

.kdc-header__menu-button:focus {
  pointer-events: none;
}

.kdc-header__menu-button:focus .kdc-menu {
  opacity: 1;
  visibility: visible;
  max-height: 800px;
  transition: visibility 0.5s;
  pointer-events: auto;
}

.kdc-header__menu-icon-close {
  display: none;
}

.kdc-header__menu-button:focus .kdc-header__menu-icon-open {
  display: none;
}
.kdc-header__menu-button:focus .kdc-header__menu-icon-close {
  display: block;
}

.kdc-menu {
  position: absolute;
  left: 0;
  top: 46px;
  z-index: 200;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  height: calc(100vh - 54px);
  max-height: 0px;
  transition:
    visibility 0.5s,
    max-height 0.5s ease-in;
  margin-bottom: 0px;
}

.kdc-menu__list {
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

li.kdc-menu__item {
  margin: 0;
}

.kdc-menu__item {
  margin: 0;
  font-size: 18px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #404140;
}

.kdc-menu__item svg {
  margin-left: 10px;
  margin-right: 10px;
  fill: white;
  color: white;
  width: 30px;
  height: 30px;
}

.kdc-menu-mobile__arrow {
  height: 50px;
  border-left: 1px solid #404140;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kdc-menu-mobile__arrow svg {
  margin-left: 10px;
  margin-right: 10px;
  color: white;
  width: 0.625em;
  height: 25px;
}

.kdc-menu__link {
  height: 50px;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 18px;
  padding: 0 0 0 10px;
  font-family: "Fira Sans Condensed";
  font-weight: normal;
  text-transform: capitalize;
}
.kdc-menu__item .kdc-menu__link:hover,
.kdc-menu__item:hover .kdc-menu__link {
  border-top: unset;
  background-color: #36373a;
  color: #efefef;
}

.kdc-header__black {
  background: #36373a;
  display: block;
  height: 46px;
  padding: 0 0;
}
.kdc-header__black-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #404140;
  position: sticky;
}

.kdc-header__logo-menu {
  align-content: left;
  margin: 0 0;
  flex: 1 1 auto;
  min-width: 0;
}

.kdc-header__logo {
  display: block;
  width: 100%;
}

.kdc-header__logo-image {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.kdc-payments__logo,
.kdc-payments__visa,
.kdc-payments__mastercard {
  padding: 5px;
  width: 80%;
  height: auto;
}
.kdc-payments {
  padding: 15px 20px 15px 20px;
}

.kdc-payments__inner {
  display: grid;
  grid-template-columns: 30% 30% 30%;
}

.kdc-footer__column-newsletter {
  margin-bottom: 20px;
  width: 100%;
  min-width: unset;
  border-bottom: none;
  padding: 0 20px 0 20px;
}

.kdc-footer__column {
  margin-bottom: 20px;
  width: 100%;
  min-width: unset;
  border-bottom: 1px gray solid;
  padding: 0 20px 0 20px;
}

.kdc-footer__title {
  border-bottom: none;
  color: white;
  max-width: 100%;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-height: 30px;
}
.kdc-footer__title svg {
  display: inherit;
  width: 15px;
  transform: rotate(270deg);
}

.kdc-footer__outer {
  padding: 20px 0 20px 0;
}

.kdc-footer__column:focus {
  pointer-events: none;
  padding-bottom: 20px;
}

.kdc-footer__column:focus .kdc-footer__title svg {
  transform: rotate(0deg);
}
.kdc-footer__column:focus .kdc-footer__link {
  opacity: 1;
  visibility: visible;
  max-height: 300px;
  transition: visibility 0.5s;
  pointer-events: auto;
}

.kdc-footer__column:focus .kdc-footer__social-item {
  opacity: 1;
  visibility: visible;
  max-height: 300px;
  transition: visibility 0.5s;
  pointer-events: auto;
}

.kdc-footer__link {
  opacity: 0;
  visibility: hidden;
  height: auto;
  max-height: 0px;
  transition:
    visibility 0.5s,
    max-height 0.1s ease-out;
  margin-bottom: 0px;
}

.kdc-footer__social-item {
  opacity: 0;
  visibility: hidden;
  height: auto;
  max-height: 0px;
  transition:
    visibility 0.5s,
    max-height 0.1s ease-out;
}

.kdc-header__wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  margin: 0;
  z-index: 10;
}

body.admin-bar .kdc-header__wrapper {
  top: 46px;
}

.kdc-site-content {
  margin-top: 46px;
}

.kdc-menu-mobile__fill {
  flex: 1 1;
}

.kdc-mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f6d000;
  display: flex;
  font-size: 14px;
  padding: 10px;
  font-weight: normal;
  text-transform: uppercase;
  justify-content: center;
}

@media (min-width: 768px) {
  .kdc-header__desktop {
    display: block;
  }

  .kdc-header__mobile {
    display: none;
  }

  .kdc-topbar__left {
    background-color: transparent;
    margin: initial;
    width: auto;
  }

  .kdc-menu {
    position: static;
    left: auto;
    top: auto;
    z-index: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    height: auto;
    max-height: none;
    transition: none;
    margin-bottom: initial;
  }

  .kdc-menu__list {
    flex-direction: row;
    align-items: flex-end;
    padding: 0 20px;
  }

  li.kdc-menu__item {
    margin: 0 2.75rem;
  }

  .kdc-menu__item {
    font-size: initial;
    width: auto;
    display: list-item;
    flex-direction: initial;
    justify-content: initial;
    align-items: initial;
    border-bottom: none;
  }

  .kdc-menu__link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
    border-top: 5px solid #36373a;
    padding: 2px 12px;
    width: auto;
    height: 39px;
    justify-content: initial;
    font-family: inherit;
  }

  .kdc-menu__item .kdc-menu__link:hover,
  .kdc-menu__item:hover .kdc-menu__link {
    border-top: 5px solid #f6d000;
    background-color: #efefef;
    color: #36373a;
  }

  .kdc-header__black {
    display: flex;
    height: auto;
    padding: 0;
  }

  .kdc-header__black-wrapper {
    margin: 13px auto;
    justify-content: space-between;
    border-bottom: none;
    position: static;
  }

  .kdc-header__logo-menu {
    margin: 0 35px;
    flex: initial;
    min-width: initial;
  }

  .kdc-header__logo {
    width: auto;
  }

  .kdc-header__logo-image {
    margin: initial;
    padding: 0;
    padding-top: 10px;
    display: initial;
    width: auto;
    max-width: none;
    height: auto;
  }

  .kdc-payments__logo,
  .kdc-payments__visa,
  .kdc-payments__mastercard {
    padding: initial;
    width: 10%;
    height: auto;
    margin-right: 4px;
  }

  .kdc-payments {
    padding: 15px 60px;
  }

  .kdc-payments__inner {
    display: flex;
    grid-template-columns: none;
  }

  .kdc-footer__column-newsletter {
    margin-bottom: initial;
    width: auto;
    min-width: 220px;
    padding: 0;
  }

  .kdc-footer__column {
    margin-bottom: 0;
    width: 13%;
    min-width: 220px;
    padding: 0;
  }

  .kdc-footer__title {
    max-width: 90%;
    margin-bottom: 15px;
    display: block;
    flex-direction: initial;
    justify-content: initial;
    max-height: none;
    border-bottom: 2px solid #d2b30d;
  }

  .kdc-footer__title svg {
    display: none;
  }

  .kdc-footer__outer {
    padding: 60px 20px;
  }

  .kdc-footer__column:focus {
    pointer-events: auto;
    padding-bottom: 0;
  }

  .kdc-footer__link,
  .kdc-footer__social-item {
    opacity: 1;
    visibility: visible;
    max-height: none;
    transition: none;
  }

  .kdc-footer__link {
    margin-bottom: initial;
  }

  .kdc-header__wrapper {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
  }

  body.admin-bar .kdc-header__wrapper {
    top: auto;
  }

  .kdc-site-content {
    margin-top: 0;
  }

  .kdc-mobile-footer {
    display: none;
  }
}

@media (min-width: 1101px) {
  .kdc-payments__visa,
  .kdc-payments__mastercard {
    width: 7%;
    margin-right: 0;
  }
}

.kdc-newsletter__error {
  color: red;
}

/* Tamaño del check (antes inline en el HTML) */
.kdc-newsletter__checkmark {
  width: 20px;
  height: 20px;
}
