* {
  box-sizing: border-box;
}

/*
 * Version 1.0.5: all visible widget typography is approximately 10% larger.
 * Locked widget typography. Elementor and Astra global font changes must not
 * alter any text rendered by the WANDERLUSTMUSTS Holiday Deals Toolkit.
 */
.wlm-deals-grid,
.wlm-deals-grid *,
.wlm-widget-message,
.wlm-widget-message * {
  font-family: "Poppins", Arial, sans-serif !important;
}

.wlm-deals-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 8px;
  font-family: "Poppins", Arial, sans-serif;
}

.wlm-card-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none !important;
}

.wlm-card {
  min-height: 398px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.wlm-image-wrap {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  background: #f5f5f5;
}

.wlm-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
  transition: transform 0.3s ease;
}

.wlm-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  overflow: hidden;
  color: #fff;
  font-size: 13.2px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1px;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
}

.wlm-hot-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff2f5f;
  font-size: 14.3px;
  border-radius: 50%;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
}

.wlm-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 12px 10px;
}

.wlm-title {
  min-height: 58px;
  margin-bottom: 4px;
  color: #111;
  font-size: 17.6px;
  font-weight: 800;
  line-height: 1.22;
}

.wlm-stars {
  margin-bottom: 6px;
  color: #d99a00;
  font-size: 15.4px;
  line-height: 1.1;
  letter-spacing: 0.8px;
}

.wlm-meta {
  margin-bottom: 2px;
  color: #555;
  font-size: 13.2px;
  font-weight: 600;
  line-height: 1.18;
}

.wlm-price-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 3px;
  margin-top: auto;
  padding-top: 8px;
  margin-bottom: 2px;
  line-height: 1;
  text-align: right;
}

.wlm-from,
.wlm-pp {
  position: relative;
  top: -1px;
  color: #777;
  font-size: 11px;
  font-weight: 500;
}

.wlm-amount {
  color: #169bd5;
  font-size: 27.5px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.wlm-widget-message {
  padding: 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
}

@media (min-width: 768px) {
  .wlm-card-link:hover .wlm-card {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.15);
  }

  .wlm-card-link:hover .wlm-image-wrap img {
    transform: scale(1.025);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wlm-deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
  }

  .wlm-card {
    min-height: 388px;
  }

  .wlm-image-wrap {
    height: 168px;
  }

  .wlm-content {
    padding: 11px 11px 9px;
  }

  .wlm-title {
    min-height: 53px;
    font-size: 16.5px;
    line-height: 1.22;
  }

  .wlm-meta {
    font-size: 12.1px;
  }

  .wlm-badge {
    min-height: 24px;
    padding: 5px 12px;
    font-size: 12.1px;
  }
}

@media (max-width: 767px) {
  .wlm-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
  }

  .wlm-card {
    min-height: 358px;
    border-radius: 12px;
  }

  .wlm-image-wrap {
    height: 148px;
  }

  .wlm-content {
    padding: 9px 9px 8px;
  }

  .wlm-title {
    min-height: 49px;
    margin-bottom: 3px;
    font-size: 14.3px;
    line-height: 1.13;
  }

  .wlm-stars {
    margin-bottom: 4px;
    font-size: 13.2px;
    line-height: 1;
    letter-spacing: 0.5px;
  }

  .wlm-meta {
    margin-bottom: 1px;
    font-size: 11px;
    line-height: 1.14;
  }

  .wlm-price-row {
    gap: 2px;
    padding-top: 6px;
    margin-bottom: 0;
  }

  .wlm-amount {
    font-size: 24.2px;
    letter-spacing: -0.3px;
  }

  .wlm-from,
  .wlm-pp {
    top: -1px;
    font-size: 9.9px;
  }

  .wlm-badge {
    top: 6px;
    left: 6px;
    max-width: calc(100% - 12px);
    min-height: 23px;
    padding: 5px 10px;
    font-size: 11px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  }

  .wlm-hot-icon {
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    font-size: 13.2px;
  }
}
