/* Equipment Section – стилове (използват цветовете на Woodmart) */
.eq-wrap {
  padding-top: 30px;
  padding-bottom: 60px;
}
.eq-breadcrumbs {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
}
.eq-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.eq-breadcrumbs a:hover {
  color: var(--wd-primary-color, #83b735);
}
.eq-breadcrumbs i {
  font-style: normal;
  margin: 0 4px;
}
.eq-title {
  text-align: center;
  margin-bottom: 30px;
}
.eq-desc {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.eq-empty {
  text-align: center;
  color: #777;
}

/* Плочки */
.eq-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 0 30px;
}
.eq-tile {
  flex: 0 1 360px;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.eq-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.eq-tile__img {
  display: block;
  aspect-ratio: 1/1; 
  overflow: hidden;
}
.eq-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eq-tile__name {
  display: block;
  padding: 18px 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.eq-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: repeating-linear-gradient(
    45deg,
    #f1f1f1,
    #f1f1f1 12px,
    #e9e9e9 12px,
    #e9e9e9 24px
  );
}

/* Страница на модел */
.eq-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.eq-single__media {
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
}
.eq-single__media img {
  width: 100%;
  height: auto;
  display: block;
}
.eq-single__title {
  margin-bottom: 15px;
}
.eq-single__excerpt {
  margin-bottom: 25px;
}
.eq-single__content {
  grid-column: 1 / -1;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .eq-single {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Бутон */
button.eq-btn.eq-open-inquiry {
    background: rgb(55, 158, 255);
    color: #fff;
    border-radius: 35px;
}
.eq-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 35px;
  background: rgb(55, 158, 255);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.eq-btn:hover {
  opacity: 0.88;
}
.eq-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Модал */
.eq-modal[hidden] {
  display: none;
}
.eq-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.eq-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.eq-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
}
.eq-modal__close {
  position: absolute;
  top: 8px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #555;
}
.eq-modal__dialog h3 {
  margin: 0 0 5px;
}
.eq-modal__item {
  margin: 0 0 15px;
  font-weight: 600;
  color: var(--wd-primary-color, #83b735);
}
.eq-form p {
  margin-bottom: 12px;
}
.eq-form input[type="email"],
.eq-form input[type="text"],
.eq-form input[type="tel"],
.eq-form textarea {
  width: 100%;
}
.eq-consent {
  font-size: 13px;
}
.eq-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.eq-form__msg {
  margin-top: 12px;
  font-size: 14px;
}
.eq-form__msg.is-error {
  color: #c0392b;
}
.eq-form__msg.is-success {
  color: #2e7d32;
  font-size: 16px;
  font-weight: 600;
}
html.eq-modal-open {
  overflow: hidden;
}

/* Табове (в стила на Woodmart: подчертан таб, центрирано меню) */
.eq-tabs {
  margin-top: 20px;
}
.eq-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 5px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 30px; 
  white-space: nowrap;
}
.eq-tabs__link {
  position: relative;
  border: 0;
  background: none;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.eq-tabs__link:hover,
.eq-tabs__link.is-active {
  color: #242424;
}
.eq-tabs__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--wd-primary-color, #83b735);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.eq-tabs__link.is-active::after {
  transform: scaleX(1);
}
.eq-tabs__panel[hidden] {
  display: none;
}
.eq-tabs__heading {
  margin-bottom: 15px;
}
.eq-specs {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
}
.eq-specs th,
.eq-specs td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: top;
}
.eq-specs th {
  width: 35%;
  font-weight: 600;
}
@media (max-width: 768px) {
  .eq-tabs__nav {
    justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
  }
  .eq-tabs__link {
    font-size: 14px;
    width: 100%;
    justify-content: flex-start;
  }
}


/* NEW  */ 
.eq-modal button.eq-modal__close {
    right: 0;
    top: 0;
    position: absolute;
    background: none;
    font-size: 3em;
    width: 50px;
    height: 50px;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-modal  button.eq-modal__close:hover {
    background: initial;
}

.eq-modal .eq-form {
        text-indent: 7px;
}
.eq-modal .eq-modal__dialog,
.eq-modal  .eq-form textarea  {
    border-radius: 20px;
}

.eq-modal  .eq-form button,
.eq-modal .eq-form input{
    border-radius: 35px;
}

.eq-modal .eq-form button {
background: rgb(55, 158, 255);
    color: #fff;
}

/* .eq-single__content.eq-tabs .eq-tabs__nav {
    overflow-y: initial;
} */
.eq-single__content.eq-tabs button {
    background: none;
}