/**
 * Admin & Frontend Shared Styles
 * This file contains styles that are applied to both WordPress admin and frontend
 */
.services-section-small {
  margin-top: 40px;
}
.services-section-small .services-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.3;
  color: #212225;
  text-align: center;
  margin-bottom: 60px;
}
.services-section-small .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
}
.services-section-small .services-grid .service-card:nth-last-child(1):nth-child(3n+1) {
  grid-column: 2/3;
}
.services-section-small .services-grid .service-card:nth-last-child(2):nth-child(3n+1) {
  grid-column-start: 1;
  justify-self: end;
}
.services-section-small .services-grid .service-card:nth-last-child(1):nth-child(3n+2) {
  grid-column-start: 2;
  justify-self: start;
}
.services-section-small .service-card {
  width: 100%;
  background: #fff;
  border: 1px solid #d7d3d0;
  border-radius: 8px;
  padding: 16px 14px 17px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 217px;
  position: relative;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}
.services-section-small .service-card .service-card-header {
  display: flex;
  justify-content: end;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: auto;
}
.services-section-small .service-card .service-card-header .service-info-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.services-section-small .service-card .service-card-header .service-info-btn svg symbol, .services-section-small .service-card .service-card-header .service-info-btn svg path {
  fill: #5d6067;
}
.services-section-small .service-card .service-card-header .service-info-btn[aria-describedby=tippy-1] svg {
  fill: #096a5e;
}
.services-section-small .service-card .service-card-header .service-info-btn[aria-describedby=tippy-1] svg path, .services-section-small .service-card .service-card-header .service-info-btn[aria-describedby=tippy-1] svg symbol {
  fill: #096a5e;
}
.services-section-small .service-card .service-card-header .service-info-btn img {
  width: 100%;
  height: 100%;
}
.services-section-small .service-card .service-card-title {
  margin: 16px 0;
  font-weight: 600;
  color: #212225;
  flex: 1;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0;
  vertical-align: middle;
}
.services-section-small .service-card .service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.services-section-small .service-card .service-card-footer .service-price {
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
  color: #212225;
}
.services-section-small .service-card .service-card-footer .service-add-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 60px;
  height: 60px;
}
.services-section-small .service-card .service-card-footer .service-add-btn img {
  width: 100%;
  height: 100%;
}
.services-section-small .service-card.checked {
  border: 1px solid #096a5e;
  background: #dae9e7;
}
@media (max-width: 951px) {
  .services-section-small .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .services-section-small .services-grid .service-card {
    grid-column-start: auto !important;
  }
  .services-section-small .services-grid .service-card .service-card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    vertical-align: middle;
  }
}

.tippy-box[data-theme~=service-info] {
  background-color: #c8d5d0;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #212225;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.tippy-box[data-theme~=service-info] .tippy-content {
  padding: 0;
  text-align: left;
}
.tippy-box[data-theme~=service-info] .tippy-arrow {
  color: #c8d5d0;
}
.tippy-box[data-theme~=service-info][data-placement^=top] > .tippy-arrow:before {
  border-top-color: #c8d5d0;
}
.tippy-box[data-theme~=service-info][data-placement^=bottom] > .tippy-arrow:before {
  border-bottom-color: #c8d5d0;
}
.tippy-box[data-theme~=service-info][data-placement^=left] > .tippy-arrow:before {
  border-left-color: #c8d5d0;
}
.tippy-box[data-theme~=service-info][data-placement^=right] > .tippy-arrow:before {
  border-right-color: #c8d5d0;
}
.tippy-box[data-theme~=service-info][data-placement=top-end] > .tippy-arrow {
  right: 12px;
}
.tippy-box[data-theme~=service-info][data-placement=top-start] > .tippy-arrow {
  left: 12px;
}